Matthew <[EMAIL PROTECTED]> writes:
> I'm using the gtk_signal_handlers_destroy() function to remove a signal from
> a toggle button.  However, when I remove the signal I get the following warning:
> Gtk-WARNING **: gtk_signal_disconnect_by_data(): could not find handler containing 
>data (0x8159E00)
>

Entirely the wrong function, you want gtk_signal_handler_block and
gtk_signal_handler_unblock to temporarily disable signals. 
signal_handlers_destroy() is some kind of internal function used when
a GtkObject is destroyed.
 
(Thus the comment in the header file:

 /* Non-public methods */
void   gtk_signal_handlers_destroy        (GtkObject *object);

though perhaps the docs are broken on this topic.)

Havoc




-- 
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to