GtkWidgetPath: turn into a boxed type.
This commit is contained in:
@ -30,7 +30,7 @@
|
|||||||
* @Title: GtkWidgetPath
|
* @Title: GtkWidgetPath
|
||||||
* @See_also: #GtkStyleContext
|
* @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
|
* the topmost widget, typically a toplevel, to any child. This widget
|
||||||
* path abstraction is used in #GtkStyleContext on behalf of the real
|
* path abstraction is used in #GtkStyleContext on behalf of the real
|
||||||
* widget in order to query style information.
|
* widget in order to query style information.
|
||||||
@ -80,6 +80,10 @@
|
|||||||
* that applies to the described widget.
|
* 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;
|
typedef struct GtkPathElement GtkPathElement;
|
||||||
|
|
||||||
struct GtkPathElement
|
struct GtkPathElement
|
||||||
|
Reference in New Issue
Block a user