Cast Granite about dialog

This commit is contained in:
Christian Dywan 2012-06-27 22:54:54 +02:00
parent 6a58d790b8
commit 2cec07a6ea

View file

@ -4889,7 +4889,8 @@ _action_about_activate (GtkAction* action,
gtk_about_dialog_set_url_hook (_action_about_activate_link, browser, NULL); gtk_about_dialog_set_url_hook (_action_about_activate_link, browser, NULL);
#endif #endif
#if HAVE_GRANITE #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 (); gchar* docs = midori_browser_get_docs ();
if (!g_str_has_prefix (docs, "error:")) if (!g_str_has_prefix (docs, "error:"))