Radek Vokal <rvokal@redhat.com>:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 8 Jun 2006 15:17:08 +0000 (15:17 +0000)
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 8 Jun 2006 15:17:08 +0000 (15:17 +0000)
Fix for bug 917: segfault when closing caputre dialog

Close dialog event have to return gboolean value.

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

gtk/capture_info_dlg.c

index cb939df3f9474dbbec0d12e46768fd4b4986cbb0..65628aaf3dcd69bde83b4ed9f5cfec2561285638 100644 (file)
@@ -76,9 +76,10 @@ pct(gint num, gint denom) {
   }
 }
 
-static void
+static gboolean
 capture_info_delete_cb(GtkWidget *w _U_, GdkEvent *event _U_, gpointer data _U_) {
   capture_stop(capture_opts);
+  return TRUE;
 }
 
 static gint