mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 14:36:16 +01:00
Fix 0/FALSE confusion. (#107662, Morten Welinder)
2003-03-06 Matthias Clasen <maclas@gmx.de> * gsignal.c (g_signal_handlers_block_matched): (g_signal_handlers_unblock_matched): (g_signal_handlers_disconnect_matched): Fix 0/FALSE confusion. (#107662, Morten Welinder)
This commit is contained in:
parent
ea9a7199a1
commit
10c5cfa36f
@ -1,3 +1,10 @@
|
||||
2003-03-06 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gsignal.c (g_signal_handlers_block_matched):
|
||||
(g_signal_handlers_unblock_matched):
|
||||
(g_signal_handlers_disconnect_matched): Fix 0/FALSE confusion.
|
||||
(#107662, Morten Welinder)
|
||||
|
||||
Mon Feb 17 20:59:47 2003 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gvalue.c (g_value_register_transform_func): don't assert the types
|
||||
|
@ -1841,8 +1841,8 @@ g_signal_handlers_block_matched (gpointer instance,
|
||||
{
|
||||
guint n_handlers = 0;
|
||||
|
||||
g_return_val_if_fail (G_TYPE_CHECK_INSTANCE (instance), FALSE);
|
||||
g_return_val_if_fail ((mask & ~G_SIGNAL_MATCH_MASK) == 0, FALSE);
|
||||
g_return_val_if_fail (G_TYPE_CHECK_INSTANCE (instance), 0);
|
||||
g_return_val_if_fail ((mask & ~G_SIGNAL_MATCH_MASK) == 0, 0);
|
||||
|
||||
if (mask & (G_SIGNAL_MATCH_CLOSURE | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA))
|
||||
{
|
||||
@ -1867,8 +1867,8 @@ g_signal_handlers_unblock_matched (gpointer instance,
|
||||
{
|
||||
guint n_handlers = 0;
|
||||
|
||||
g_return_val_if_fail (G_TYPE_CHECK_INSTANCE (instance), FALSE);
|
||||
g_return_val_if_fail ((mask & ~G_SIGNAL_MATCH_MASK) == 0, FALSE);
|
||||
g_return_val_if_fail (G_TYPE_CHECK_INSTANCE (instance), 0);
|
||||
g_return_val_if_fail ((mask & ~G_SIGNAL_MATCH_MASK) == 0, 0);
|
||||
|
||||
if (mask & (G_SIGNAL_MATCH_CLOSURE | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA))
|
||||
{
|
||||
@ -1893,8 +1893,8 @@ g_signal_handlers_disconnect_matched (gpointer instance,
|
||||
{
|
||||
guint n_handlers = 0;
|
||||
|
||||
g_return_val_if_fail (G_TYPE_CHECK_INSTANCE (instance), FALSE);
|
||||
g_return_val_if_fail ((mask & ~G_SIGNAL_MATCH_MASK) == 0, FALSE);
|
||||
g_return_val_if_fail (G_TYPE_CHECK_INSTANCE (instance), 0);
|
||||
g_return_val_if_fail ((mask & ~G_SIGNAL_MATCH_MASK) == 0, 0);
|
||||
|
||||
if (mask & (G_SIGNAL_MATCH_CLOSURE | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user