summaryrefslogtreecommitdiff
path: root/gtk/gtkobject.h
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-05-13 19:39:44 +0200
committerJavier Jardón <jjardon@gnome.org>2010-05-13 19:39:44 +0200
commit157d618d6bba7fa5b06af4f0060e719d7bec2412 (patch)
tree60cb431714e779ff247a48194bce20d4c5d11113 /gtk/gtkobject.h
parent3d481f735a2cf4b47e28d27d3621a4346d746c98 (diff)
downloadgtk+-157d618d6bba7fa5b06af4f0060e719d7bec2412.tar.gz
Move documentation to inline comments: GtkObject
Diffstat (limited to 'gtk/gtkobject.h')
-rw-r--r--gtk/gtkobject.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/gtk/gtkobject.h b/gtk/gtkobject.h
index b20f249927..34f34ed7ab 100644
--- a/gtk/gtkobject.h
+++ b/gtk/gtkobject.h
@@ -56,6 +56,15 @@ G_BEGIN_DECLS
* is a kinda nasty break up, it does make the size of
* derived objects smaller.
*/
+/**
+ * GtkObjectFlags:
+ * @GTK_IN_DESTRUCTION: the object is currently being destroyed. This is used
+ * internally by GTK+ to prevent reinvokations during destruction.
+ * @GTK_RESERVED_1: reserved for future use
+ * @GTK_RESERVED_2: reserved for future use
+ *
+ * Tells about the state of the object.
+ */
typedef enum
{
GTK_IN_DESTRUCTION = 1 << 0, /* Used internally during dispose */
@@ -63,7 +72,12 @@ typedef enum
GTK_RESERVED_2 = 1 << 3
} GtkObjectFlags;
-/* Macros for extracting the object_flags from GtkObject.
+/**
+ * GTK_OBJECT_FLAGS:
+ * @obj: the object whose flags are returned.
+ *
+ * Gets the #GtkObjectFlags for an object without directly
+ * accessing its members.
*/
#define GTK_OBJECT_FLAGS(obj) (GTK_OBJECT (obj)->flags)