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

@ -66,6 +66,7 @@ only one statement is expected by the compiler.
Portable way to copy <type>va_list</type> variables.
</para>
<!-- # Unused Parameters # -->
@ap1: the <type>va_list</type> variable to place a copy of @ap2 in.
@ap2: a <type>va_list</type>.

View File

@ -1,3 +1,8 @@
Wed Mar 28 17:04:06 2001 Tim Janik <timj@gtk.org>
* gobject.c (object_queue_property): only queue readable properties
for notification changes.
Thu Mar 22 13:36:50 2001 Tim Janik <timj@gtk.org>
* gsignal.c (g_signal_newv): catch G_SIGNAL_RUN_FIRST with a return value.

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