diff --git a/docs/reference/glib/tmpl/macros_misc.sgml b/docs/reference/glib/tmpl/macros_misc.sgml index a7768c733..994ffb730 100644 --- a/docs/reference/glib/tmpl/macros_misc.sgml +++ b/docs/reference/glib/tmpl/macros_misc.sgml @@ -66,6 +66,7 @@ only one statement is expected by the compiler. Portable way to copy va_list variables. + @ap1: the va_list variable to place a copy of @ap2 in. @ap2: a va_list. diff --git a/gobject/ChangeLog b/gobject/ChangeLog index d59e807bb..43745c92b 100644 --- a/gobject/ChangeLog +++ b/gobject/ChangeLog @@ -1,3 +1,8 @@ +Wed Mar 28 17:04:06 2001 Tim Janik + + * gobject.c (object_queue_property): only queue readable properties + for notification changes. + Thu Mar 22 13:36:50 2001 Tim Janik * gsignal.c (g_signal_newv): catch G_SIGNAL_RUN_FIRST with a return value. diff --git a/gobject/gobject.c b/gobject/gobject.c index f3e0e49f3..7590c4cae 100644 --- a/gobject/gobject.c +++ b/gobject/gobject.c @@ -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