From: Padraig O'Briain Date: Mon, 23 Jul 2001 17:08:24 +0000 (+0000) Subject: fix unconditional check of first GParamSpec in X-Git-Tag: GLIB_1_3_7~69 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8caf4a8c43950f6094d31b4b866451d14398680c;p=platform%2Fupstream%2Fglib.git fix unconditional check of first GParamSpec in * gobject/gobjectnotifyqueue.c: fix unconditional check of first GParamSpec in g_object_notify_queue_thaw(); prevent property notification being lost --- diff --git a/ChangeLog b/ChangeLog index 534c777..c584514 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-07-23 Padraig O'Briain + + * gobject/gobjectnotifyqueue.c: fix unconditional check of + first GParamSpec in g_object_notify_queue_thaw(); prevent + property notification being lost + 2001-07-23 Ron Steinke * glib/giochannel.c: fixed g_io_channel_seek_position() so that diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 534c777..c584514 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,9 @@ +2001-07-23 Padraig O'Briain + + * gobject/gobjectnotifyqueue.c: fix unconditional check of + first GParamSpec in g_object_notify_queue_thaw(); prevent + property notification being lost + 2001-07-23 Ron Steinke * glib/giochannel.c: fixed g_io_channel_seek_position() so that diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 534c777..c584514 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2001-07-23 Padraig O'Briain + + * gobject/gobjectnotifyqueue.c: fix unconditional check of + first GParamSpec in g_object_notify_queue_thaw(); prevent + property notification being lost + 2001-07-23 Ron Steinke * glib/giochannel.c: fixed g_io_channel_seek_position() so that diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 534c777..c584514 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,9 @@ +2001-07-23 Padraig O'Briain + + * gobject/gobjectnotifyqueue.c: fix unconditional check of + first GParamSpec in g_object_notify_queue_thaw(); prevent + property notification being lost + 2001-07-23 Ron Steinke * glib/giochannel.c: fixed g_io_channel_seek_position() so that diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 534c777..c584514 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +2001-07-23 Padraig O'Briain + + * gobject/gobjectnotifyqueue.c: fix unconditional check of + first GParamSpec in g_object_notify_queue_thaw(); prevent + property notification being lost + 2001-07-23 Ron Steinke * glib/giochannel.c: fixed g_io_channel_seek_position() so that diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 534c777..c584514 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +2001-07-23 Padraig O'Briain + + * gobject/gobjectnotifyqueue.c: fix unconditional check of + first GParamSpec in g_object_notify_queue_thaw(); prevent + property notification being lost + 2001-07-23 Ron Steinke * glib/giochannel.c: fixed g_io_channel_seek_position() so that diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 534c777..c584514 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +2001-07-23 Padraig O'Briain + + * gobject/gobjectnotifyqueue.c: fix unconditional check of + first GParamSpec in g_object_notify_queue_thaw(); prevent + property notification being lost + 2001-07-23 Ron Steinke * glib/giochannel.c: fixed g_io_channel_seek_position() so that diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 534c777..c584514 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2001-07-23 Padraig O'Briain + + * gobject/gobjectnotifyqueue.c: fix unconditional check of + first GParamSpec in g_object_notify_queue_thaw(); prevent + property notification being lost + 2001-07-23 Ron Steinke * glib/giochannel.c: fixed g_io_channel_seek_position() so that diff --git a/gobject/gobjectnotifyqueue.c b/gobject/gobjectnotifyqueue.c index 940a231..ef3cbce 100644 --- a/gobject/gobjectnotifyqueue.c +++ b/gobject/gobjectnotifyqueue.c @@ -104,6 +104,8 @@ g_object_notify_queue_thaw (GObject *object, g_return_if_fail (object->ref_count > 0); pspecs = nqueue->n_pspecs > 16 ? free_me = g_new (GParamSpec*, nqueue->n_pspecs) : pspecs_mem; + /* set first entry to NULL since it's checked unconditionally */ + pspecs[0] = NULL; for (slist = nqueue->pspecs; slist; slist = slist->next) { GParamSpec *pspec = slist->data;