]> Pileus Git - ~andy/gtk/commitdiff
GtkWidgetPath: turn into a boxed type.
authorCarlos Garnacho <carlosg@gnome.org>
Wed, 20 Oct 2010 17:33:39 +0000 (19:33 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Sat, 4 Dec 2010 14:38:24 +0000 (15:38 +0100)
gtk/gtkwidgetpath.c

index 4b4e186ca89291dc8d092e0428b9b449975e2696..dfd2afe824ec92825c02e79d6d30765545de947e 100644 (file)
@@ -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.
  * 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