Cast Granite about dialog

This commit is contained in:
Christian Dywan 2012-06-27 22:54:54 +02:00
parent 6a58d790b8
commit 2cec07a6ea
1 changed files with 2 additions and 1 deletions

View 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:"))