aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/main_welcome.c
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2012-03-21 02:42:11 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2012-03-21 02:42:11 +0000
commit1ee4c9e8a0acfe1df7df7e53ee6bd4a927b0f326 (patch)
tree2cdb3a2a6c1a9113fb6e548e824b3136da64993a /ui/gtk/main_welcome.c
parentf7980fd037212418d30903a06de4f333ef4367e7 (diff)
activate_link_cb() is only defined and used if we have GTK 2.18 or higher; only prototype it when we have GTK 2.18 or higher.
svn path=/trunk/; revision=41701
Diffstat (limited to 'ui/gtk/main_welcome.c')
-rw-r--r--ui/gtk/main_welcome.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/gtk/main_welcome.c b/ui/gtk/main_welcome.c
index 62f2034e43..5f9fe0e2c1 100644
--- a/ui/gtk/main_welcome.c
+++ b/ui/gtk/main_welcome.c
@@ -116,7 +116,9 @@ static GMutex *recent_mtx;
#ifdef HAVE_LIBPCAP
static void capture_if_start(GtkWidget *w _U_, gpointer data _U_);
+#if GTK_CHECK_VERSION(2,18,0)
static gboolean activate_link_cb(GtkLabel *label _U_, gchar *uri, gpointer user_data _U_);
+#endif
static void welcome_if_tree_load(void);
#endif