From 401c4289140df1e80360bd06b5ebf373cdb41f4b Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Sun, 3 Dec 2006 04:08:35 +0000 Subject: [PATCH] about_dialog_activate_link_cb is only used if GTK+ >= 2.6 git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@2145 4912f4e0-d625-0410-9fb7-b9a5a253dbdc --- gnome/applet/applet.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnome/applet/applet.c b/gnome/applet/applet.c index 3eba90a307..261efc461e 100644 --- a/gnome/applet/applet.c +++ b/gnome/applet/applet.c @@ -284,12 +284,14 @@ static void nma_show_info_cb (GtkMenuItem *mi, NMApplet *applet) } } +#if GTK_CHECK_VERSION (2, 6, 0) static void about_dialog_activate_link_cb (GtkAboutDialog *about, const gchar *url, gpointer data) { gnome_url_show (url, NULL); } +#endif static void nma_about_cb (GtkMenuItem *mi, NMApplet *applet) {