summaryrefslogtreecommitdiff
path: root/gtk/gtkwidgetpath.c
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2010-10-20 19:33:39 +0200
committerCarlos Garnacho <carlosg@gnome.org>2010-12-04 15:38:24 +0100
commit770f050d8c749d0f293356651f0a55385de84ee9 (patch)
tree6804c4cac4aebbced1fa6fa8ebfeb3dc820af378 /gtk/gtkwidgetpath.c
parentc9a3da5025a40ce8b41a67f40666a9dddf4d49fa (diff)
downloadgtk+-770f050d8c749d0f293356651f0a55385de84ee9.tar.gz
GtkWidgetPath: turn into a boxed type.
Diffstat (limited to 'gtk/gtkwidgetpath.c')
-rw-r--r--gtk/gtkwidgetpath.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gtk/gtkwidgetpath.c b/gtk/gtkwidgetpath.c
index 4b4e186ca8..dfd2afe824 100644
--- a/gtk/gtkwidgetpath.c
+++ b/gtk/gtkwidgetpath.c
@@ -30,7 +30,7 @@
* @Title: GtkWidgetPath
* @See_also: #GtkStyleContext
*
- * #GtkWidgetPath is an struct that represents a widget hierarchy from
+ * #GtkWidgetPath is a boxed type that represents a widget hierarchy from
* the topmost widget, typically a toplevel, to any child. This widget
* path abstraction is used in #GtkStyleContext on behalf of the real
* widget in order to query style information.
@@ -80,6 +80,10 @@
* that applies to the described widget.
**/
+G_DEFINE_BOXED_TYPE (GtkWidgetPath, gtk_widget_path,
+ gtk_widget_path_copy, gtk_widget_path_free)
+
+
typedef struct GtkPathElement GtkPathElement;
struct GtkPathElement