[Xfce4-commits] <midori:master> No about dialog hooks since GTK+ 2.24, not 3.0

Christian Dywan noreply at xfce.org
Tue Nov 15 18:36:04 CET 2011


Updating branch refs/heads/master
         to 069ade42d07de4fca2945fa899cb474de2e8d39a (commit)
       from 49758e4dd8ace0c573a687f94b5c57bc007df38a (commit)

commit 069ade42d07de4fca2945fa899cb474de2e8d39a
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Nov 13 20:16:55 2011 +0100

    No about dialog hooks since GTK+ 2.24, not 3.0

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

diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index a34a835..ff10302 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -4732,7 +4732,7 @@ static const gchar* credits_documenters[] =
 static const gchar* credits_artists[] =
     { "Nancy Runge <nancy at twotoasts.de>", NULL };
 
-#if !GTK_CHECK_VERSION (3, 0, 0)
+#if !GTK_CHECK_VERSION (2, 24, 0)
 static void
 _action_about_activate_link (GtkAboutDialog* about,
                              const gchar*    uri,
@@ -4774,7 +4774,7 @@ _action_about_activate (GtkAction*     action,
     "License as published by the Free Software Foundation; either "
     "version 2.1 of the License, or (at your option) any later version.");
 
-#if !GTK_CHECK_VERSION (3, 0, 0)
+#if !GTK_CHECK_VERSION (2, 24, 0)
     gtk_about_dialog_set_email_hook (_action_about_activate_email, NULL, NULL);
     gtk_about_dialog_set_url_hook (_action_about_activate_link, browser, NULL);
 #endif


More information about the Xfce4-commits mailing list