mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-05 10:38:08 +01: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:
parent
b0956b3b6f
commit
a453526f35
@ -1,3 +1,10 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2000-11-05 Tor Lillqvist <tml@iki.fi>
|
2000-11-05 Tor Lillqvist <tml@iki.fi>
|
||||||
|
|
||||||
* makefile.{mingw,msc}.in (gobject_OBJECTS): Add gtypeplugin.
|
* makefile.{mingw,msc}.in (gobject_OBJECTS): Add gtypeplugin.
|
||||||
|
@ -33,6 +33,7 @@ gobject_public_h_sources = @STRIP_BEGIN@ \
|
|||||||
gsignal.h \
|
gsignal.h \
|
||||||
gtype.h \
|
gtype.h \
|
||||||
gtypeplugin.h \
|
gtypeplugin.h \
|
||||||
|
gtypepluginsimple.h \
|
||||||
gvalue.h \
|
gvalue.h \
|
||||||
gvaluecollector.h \
|
gvaluecollector.h \
|
||||||
gvaluetypes.h \
|
gvaluetypes.h \
|
||||||
@ -53,6 +54,7 @@ gobject_c_sources = @STRIP_BEGIN@ \
|
|||||||
gsignal.c \
|
gsignal.c \
|
||||||
gtype.c \
|
gtype.c \
|
||||||
gtypeplugin.c \
|
gtypeplugin.c \
|
||||||
|
gtypepluginsimple.c \
|
||||||
gvalue.c \
|
gvalue.c \
|
||||||
gvaluetypes.c \
|
gvaluetypes.c \
|
||||||
@STRIP_END@
|
@STRIP_END@
|
||||||
|
@ -433,7 +433,7 @@ handlers_find (gpointer instance,
|
|||||||
handler->closure->meta_marshal == 0 &&
|
handler->closure->meta_marshal == 0 &&
|
||||||
((GCClosure*) handler->closure)->callback == func)))
|
((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)
|
if (one_and_only)
|
||||||
return mlist;
|
return mlist;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user