From 46f5ee1d0c0f4601853ed57e99b1b513f1baa445 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Thu, 3 Dec 2009 13:10:02 +0100 Subject: Store the buildable name in object data instead of the widget name Widget names are used for theming which is why GtkBuilder should use object data. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=591085 --- docs/reference/gtk/tmpl/gtkbuildable.sgml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/reference/gtk/tmpl/gtkbuildable.sgml b/docs/reference/gtk/tmpl/gtkbuildable.sgml index 16857ae60c..935a2c77f6 100644 --- a/docs/reference/gtk/tmpl/gtkbuildable.sgml +++ b/docs/reference/gtk/tmpl/gtkbuildable.sgml @@ -41,10 +41,8 @@ a GtkBuilder UI definition. @g_iface: the parent class @set_name: Stores the name attribute given in the GtkBuilder UI definition. - #GtkWidget maps this to the #GtkWidget:name property, and - gtk_buildable_set_name() has a fallback implementation that stores - the name as object data. Implement this method if your object - has some notion of "name" and it makes sense to map the XML name + #GtkWidget stores the name as object data. Implement this method if your + object has some notion of "name" and it makes sense to map the XML name attribute to it. @get_name: The getter corresponding to @set_name. Implement this if you implement @set_name. -- cgit v1.2.1