summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPadraig O'Briain <padraigo@src.gnome.org>2001-07-23 17:08:24 +0000
committerPadraig O'Briain <padraigo@src.gnome.org>2001-07-23 17:08:24 +0000
commit8caf4a8c43950f6094d31b4b866451d14398680c (patch)
treee344af98be1ef1f947f2cd664b04f03b750074c8
parentd403f5f219f609a6abad44fe85efd401fc25102a (diff)
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
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.pre-2-06
-rw-r--r--ChangeLog.pre-2-106
-rw-r--r--ChangeLog.pre-2-126
-rw-r--r--ChangeLog.pre-2-26
-rw-r--r--ChangeLog.pre-2-46
-rw-r--r--ChangeLog.pre-2-66
-rw-r--r--ChangeLog.pre-2-86
-rw-r--r--gobject/gobjectnotifyqueue.c2
9 files changed, 50 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 534c77770..c584514da 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-07-23 Padraig O'Briain <Padraig.Obriain@sun.com>
+
+ * 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 <rsteinke@w-link.net>
* glib/giochannel.c: fixed g_io_channel_seek_position() so that
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index 534c77770..c584514da 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,3 +1,9 @@
+2001-07-23 Padraig O'Briain <Padraig.Obriain@sun.com>
+
+ * 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 <rsteinke@w-link.net>
* glib/giochannel.c: fixed g_io_channel_seek_position() so that
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 534c77770..c584514da 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,9 @@
+2001-07-23 Padraig O'Briain <Padraig.Obriain@sun.com>
+
+ * 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 <rsteinke@w-link.net>
* glib/giochannel.c: fixed g_io_channel_seek_position() so that
diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12
index 534c77770..c584514da 100644
--- a/ChangeLog.pre-2-12
+++ b/ChangeLog.pre-2-12
@@ -1,3 +1,9 @@
+2001-07-23 Padraig O'Briain <Padraig.Obriain@sun.com>
+
+ * 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 <rsteinke@w-link.net>
* glib/giochannel.c: fixed g_io_channel_seek_position() so that
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 534c77770..c584514da 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,9 @@
+2001-07-23 Padraig O'Briain <Padraig.Obriain@sun.com>
+
+ * 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 <rsteinke@w-link.net>
* glib/giochannel.c: fixed g_io_channel_seek_position() so that
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 534c77770..c584514da 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,9 @@
+2001-07-23 Padraig O'Briain <Padraig.Obriain@sun.com>
+
+ * 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 <rsteinke@w-link.net>
* glib/giochannel.c: fixed g_io_channel_seek_position() so that
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 534c77770..c584514da 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,9 @@
+2001-07-23 Padraig O'Briain <Padraig.Obriain@sun.com>
+
+ * 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 <rsteinke@w-link.net>
* glib/giochannel.c: fixed g_io_channel_seek_position() so that
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 534c77770..c584514da 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,9 @@
+2001-07-23 Padraig O'Briain <Padraig.Obriain@sun.com>
+
+ * 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 <rsteinke@w-link.net>
* glib/giochannel.c: fixed g_io_channel_seek_position() so that
diff --git a/gobject/gobjectnotifyqueue.c b/gobject/gobjectnotifyqueue.c
index 940a231a0..ef3cbcead 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;