aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/about_dlg.c
diff options
context:
space:
mode:
authorSake Blok <sake@euronet.nl>2007-08-31 14:14:17 +0000
committerSake Blok <sake@euronet.nl>2007-08-31 14:14:17 +0000
commit27efb95042c2c4a6be7e7927b8391083f6611312 (patch)
tree5cf4cbba69e1f445b60d835aa3710324fcd5137c /gtk/about_dlg.c
parent1a8fb7a4595e715b40ce47bc8192a5a0574ab3c3 (diff)
This patch fixes the following two errors that appear when
configure is run with "--without-plugins" cc1: warnings being treated as errors about_dlg.c: In function ‘about_wireshark_cb’: about_dlg.c:426: warning: unused variable ‘plugins_page’ make[2]: *** [about_dlg.o] Error 1 editcap.c: In function ‘main’: editcap.c:663: error: ‘check_ts’ undeclared (first use in this function) editcap.c:663: error: (Each undeclared identifier is reported only once editcap.c:663: error: for each function it appears in.) make[2]: *** [editcap.o] Error 1 svn path=/trunk/; revision=22761
Diffstat (limited to 'gtk/about_dlg.c')
-rw-r--r--gtk/about_dlg.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/about_dlg.c b/gtk/about_dlg.c
index 4da421225c..ca01be3c72 100644
--- a/gtk/about_dlg.c
+++ b/gtk/about_dlg.c
@@ -422,8 +422,12 @@ void
about_wireshark_cb( GtkWidget *w _U_, gpointer data _U_ )
{
GtkWidget *main_vb, *main_nb, *bbox, *ok_btn;
+ GtkWidget *page_lb, *about_page, *folders_page;
+
+#ifdef HAVE_PLUGINS
+ GtkWidget *plugins_page;
+#endif
- GtkWidget *page_lb, *about_page, *folders_page, *plugins_page;
#if GTK_MAJOR_VERSION >= 2 || GTK_MINOR_VERSION >= 3
GtkWidget *authors_page, *license_page;
#endif