[Xfce4-commits] <midori:master> Cast Granite about dialog

Christian Dywan noreply at xfce.org
Wed Jun 27 22:58:02 CEST 2012


Updating branch refs/heads/master
         to 2cec07a6ea9d1d7d0da4ed4c45d0a3dbcda677a4 (commit)
       from 6a58d790b8c8df0bd20e4bffec41274e6618298e (commit)

commit 2cec07a6ea9d1d7d0da4ed4c45d0a3dbcda677a4
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Jun 27 22:54:54 2012 +0200

    Cast Granite about dialog

 midori/midori-browser.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index 4bf711f..c5b5cc6 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:"))


More information about the Xfce4-commits mailing list