]> spindle.queued.net Git - midori/commitdiff
Cast Granite about dialog
authorChristian Dywan <christian@twotoasts.de>
Wed, 27 Jun 2012 20:54:54 +0000 (22:54 +0200)
committerChristian Dywan <christian@twotoasts.de>
Wed, 27 Jun 2012 20:54:54 +0000 (22:54 +0200)
midori/midori-browser.c

index 4bf711f1a710407389c4cb506283a24505592dd5..c5b5cc606f2b50e4a267b04b6454f1cd2d373ff5 100644 (file)
@@ -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:"))