Cast Granite about dialog
This commit is contained in:
parent
6a58d790b8
commit
2cec07a6ea
1 changed files with 2 additions and 1 deletions
|
@ -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:"))
|
||||||
|
|
Loading…
Reference in a new issue