From: Matthias Clasen Date: Wed, 18 Dec 2002 23:46:18 +0000 (+0000) Subject: Add docs. X-Git-Tag: GLIB_2_2_0~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=634b48f254424def05d00e832887efc76df9d485;p=platform%2Fupstream%2Fglib.git Add docs. --- diff --git a/gobject/ChangeLog b/gobject/ChangeLog index 552e01d53..e865fee70 100644 --- a/gobject/ChangeLog +++ b/gobject/ChangeLog @@ -1,3 +1,7 @@ +2002-12-18 Matthias Clasen + + * gobject.c: Add docs. + 2002-12-18 Michael Natterer * gobject/gtype.c (type_data_finalize_class_ifaces_Wm): applied diff --git a/gobject/gobject.c b/gobject/gobject.c index 63076645f..308c44089 100644 --- a/gobject/gobject.c +++ b/gobject/gobject.c @@ -475,6 +475,13 @@ g_object_run_dispose (GObject *object) g_object_unref (object); } +/** + * g_object_freeze_notify: + * @object: a #GObject + * + * Stops emission of "notify" signals on @object. The signals are + * queued until g_object_thaw_notify() is called on @object. + **/ void g_object_freeze_notify (GObject *object) { @@ -487,6 +494,13 @@ g_object_freeze_notify (GObject *object) g_object_unref (object); } +/** + * g_object_notify: + * @object: a #GObject + * @property_name: the name of a property installed on the class of @object. + * + * Emits a "notify" signal for the property @property_name on @object. + **/ void g_object_notify (GObject *object, const gchar *property_name) @@ -518,6 +532,14 @@ g_object_notify (GObject *object, g_object_unref (object); } +/** + * g_object_thaw_notify: + * @object: a #GObject + * + * Reverts the effect of a previous call to g_object_freeze_notify(). + * This causes all queued "notify" signals on @object to be emitted. + + **/ void g_object_thaw_notify (GObject *object) {