From 2cec07a6ea9d1d7d0da4ed4c45d0a3dbcda677a4 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Wed, 27 Jun 2012 22:54:54 +0200 Subject: [PATCH] Cast Granite about dialog --- midori/midori-browser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 4bf711f1..c5b5cc60 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -4889,7 +4889,8 @@ _action_about_activate (GtkAction* action, gtk_about_dialog_set_url_hook (_action_about_activate_link, browser, NULL); #endif #if HAVE_GRANITE - dialog = granite_widgets_about_dialog_new (); + /* FIXME: granite: should return GtkWidget* like GTK+ */ + dialog = (GtkWidget*)granite_widgets_about_dialog_new (); { gchar* docs = midori_browser_get_docs (); if (!g_str_has_prefix (docs, "error:")) -- 2.39.5