mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
When appending handlers and not matching on signal_id, use
Sun Nov 5 10:25:40 2000 Owen Taylor <otaylor@redhat.com> * gsignal.c (handlers_find): When appending handlers and not matching on signal_id, use hlist->signal_id instead of signal_id. Having the correct signal_id when unreffing the handlers makes things work a lot better.
This commit is contained in:
@@ -433,7 +433,7 @@ handlers_find (gpointer instance,
|
||||
handler->closure->meta_marshal == 0 &&
|
||||
((GCClosure*) handler->closure)->callback == func)))
|
||||
{
|
||||
mlist = handler_match_prepend (mlist, handler, signal_id);
|
||||
mlist = handler_match_prepend (mlist, handler, hlist->signal_id);
|
||||
if (one_and_only)
|
||||
return mlist;
|
||||
}
|
||||
|
Reference in New Issue
Block a user