only queue readable properties for notification changes.

Wed Mar 28 17:04:06 2001  Tim Janik  <timj@gtk.org>

        * gobject.c (object_queue_property): only queue readable properties
        for notification changes.
This commit is contained in:
Tim Janik
2001-03-28 15:26:19 +00:00
committed by Tim Janik
parent df2f429cff
commit f3848154ae
3 changed files with 12 additions and 3 deletions

View File

@@ -387,9 +387,12 @@ object_queue_property (GObject *object,
GParamSpec *pspec,
NotifyQueue *nqueue)
{
/* we will dedup later */
nqueue->pspecs = g_slist_prepend (nqueue->pspecs, pspec);
nqueue->n_pspecs++;
if (pspec->flags & G_PARAM_READABLE)
{
/* we will dedup later */
nqueue->pspecs = g_slist_prepend (nqueue->pspecs, pspec);
nqueue->n_pspecs++;
}
}
static void