mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Don't choke on a zero handler_id.
2004-07-12 Matthias Clasen <mclasen@redhat.com> * gsignal.c (g_signal_handler_is_connected): Don't choke on a zero handler_id.
This commit is contained in:
parent
a0465f83b1
commit
03657b9bf0
@ -1,3 +1,8 @@
|
||||
2004-07-12 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gsignal.c (g_signal_handler_is_connected): Don't
|
||||
choke on a zero handler_id.
|
||||
|
||||
Tue Jul 6 00:46:43 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtypemodule.h:
|
||||
|
@ -1747,7 +1747,6 @@ g_signal_handler_is_connected (gpointer instance,
|
||||
gboolean connected;
|
||||
|
||||
g_return_val_if_fail (G_TYPE_CHECK_INSTANCE (instance), FALSE);
|
||||
g_return_val_if_fail (handler_id > 0, FALSE);
|
||||
|
||||
SIGNAL_LOCK ();
|
||||
handler = handler_lookup (instance, handler_id, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user