mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-24 02:47:52 +02:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user