]> spindle.queued.net Git - midori/commitdiff
No about dialog hooks since GTK+ 2.24, not 3.0
authorChristian Dywan <christian@twotoasts.de>
Sun, 13 Nov 2011 19:16:55 +0000 (20:16 +0100)
committerChristian Dywan <christian@twotoasts.de>
Tue, 15 Nov 2011 17:34:19 +0000 (18:34 +0100)
midori/midori-browser.c

index a34a8352f52d7c555de5bfe2ede243c41830754b..ff1030259e9f9a6f2cae818f3e67802e79646e83 100644 (file)
@@ -4732,7 +4732,7 @@ static const gchar* credits_documenters[] =
 static const gchar* credits_artists[] =
     { "Nancy Runge <nancy@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