bugfix to a bug reported by Stuart MacDonald (bug #10):
authorulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 12 Jul 2004 17:20:06 +0000 (17:20 +0000)
committerulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 12 Jul 2004 17:20:06 +0000 (17:20 +0000)
return FALSE for the recent files text entry, otherwise Ethereal will
crash when selected this field and press Apply

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11364 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/gui_prefs.c

index 3ad876f0595dfa8342c019e0095de894ff5c95ef..3494c9919e0f5a148669851396201c648723e475 100644 (file)
@@ -1,7 +1,7 @@
 /* gui_prefs.c
  * Dialog box for GUI preferences
  *
- * $Id: gui_prefs.c,v 1.75 2004/06/29 17:10:53 ulfl Exp $
+ * $Id: gui_prefs.c,v 1.76 2004/07/12 17:20:06 ulfl Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -542,7 +542,7 @@ recent_files_count_changed_cb(GtkWidget *recent_files_entry _U_,
 
     /* We really should pop up a nasty dialog box if newval <= 0 */
 
-    return TRUE;
+    return FALSE;
 }
 
 static gint