dont ifdef out main_window_exit() if we dont have PCAP since this symbol is required...
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 1 Feb 2007 08:36:35 +0000 (08:36 +0000)
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 1 Feb 2007 08:36:35 +0000 (08:36 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20661 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/gui_utils.c

index 00221dd57d564bf4d761b51841696b568efd6560..727c2978451ea5d8cfeae6117fde6bfbd0129a0e 100644 (file)
@@ -595,14 +595,14 @@ void main_window_update(void)
   while (gtk_events_pending()) gtk_main_iteration();
 }
 
-#ifdef HAVE_LIBPCAP
-
 /* exit the main window */
 void main_window_exit(void)
 {
   gtk_exit(0);
 }
 
+#ifdef HAVE_LIBPCAP
+
 /* quit a nested main window */
 void main_window_nested_quit(void)
 {