[gtk+/composite-widget-templates] Fixing some new GtkBuilder documentation
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/composite-widget-templates] Fixing some new GtkBuilder documentation
- Date: Mon, 7 Jun 2010 19:21:01 +0000 (UTC)
commit fabc18d551b95c29b1abdaaf6dd495e43fce2570
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Mon Jun 7 15:20:28 2010 -0400
Fixing some new GtkBuilder documentation
gtk/gtkbuilder.c | 4 +++-
gtk/gtkcontainer.c | 7 ++++---
2 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkbuilder.c b/gtk/gtkbuilder.c
index 150feef..6e80d6c 100644
--- a/gtk/gtkbuilder.c
+++ b/gtk/gtkbuilder.c
@@ -81,12 +81,14 @@
* <!ATTLIST property name #REQUIRED
* translatable #IMPLIED
* comments #IMPLIED
- * context #IMPLIED >
+ * context #IMPLIED
+ * external-object #IMPLIED >
* <!ATTLIST signal name #REQUIRED
* handler #REQUIRED
* after #IMPLIED
* swapped #IMPLIED
* object #IMPLIED
+ * external-object #IMPLIED
* last_modification_time #IMPLIED >
* <!ATTLIST child type #IMPLIED
* internal-child #IMPLIED >
diff --git a/gtk/gtkcontainer.c b/gtk/gtkcontainer.c
index d28d8ca..f652af9 100644
--- a/gtk/gtkcontainer.c
+++ b/gtk/gtkcontainer.c
@@ -2983,12 +2983,13 @@ gtk_param_composite_get_type (void)
*
* See g_param_spec_internal() for details on property names.
*
- * <note><para>Composite child properties must all be writable a rule.
- * Dynamic widget contents should generally not be advertized as a composite children,
+ * Composite child properties must all be writable a rule but can be private
+ * if they are declared without the readable flag.
+ * Dynamic widget contents should generally not be advertized as composite children
* although at times they can be writable for the purpose of being overridden by a
* third party. Such dynamic composite children should not be refferred to by child
* UIs that extend a widget, but can be mentioned in templates which include a widget
- * and override it's child</para></note>
+ * and override it's child.
*
* Returns: a newly created parameter specification
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]