Wireshark-bugs: [Wireshark-bugs] [Bug 2786] Cannot use "capture info" dialog, wireshark gets SIG

Date: Sat, 9 Aug 2008 00:48:31 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2786


Alexey Neyman <avn@xxxxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #2139|review_for_checkin?         |
               Flag|                            |
Attachment #2139 is|0                           |1
           obsolete|                            |




--- Comment #1 from Alexey Neyman <avn@xxxxxxxxxxxxxxx>  2008-08-09 00:48:30 PDT ---
Created an attachment (id=2142)
 --> (https://bugs.wireshark.org/bugzilla/attachment.cgi?id=2142)
Correct fix

Here is the right fix. The problem was that the "clicked" signal has a
different prototype from the "delete-event" signal. The
capture_info_delete_cb() function matched the prototype for "delete-event", but
not for "clicked". According to GTK+ documentation, "clicked" signal should be
as follows:

void user_function(GtkButton *button, gpointer user_data);


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.