GitLab repository storage has been migrated to hashed layout. Please contact Infrastructure team if you notice any issues with repositories or hooks.

Commit f0e5b576 authored by Benjamin Otte's avatar Benjamin Otte

widgetpath: Use ref/unref in boxed function

This way we avoid lots of copying when using widget paths as properties.

Keeping this as a separate patch so bugs where people were modifying a
structure they shouldn't are easily visible.
parent 03eb4c38
......@@ -82,7 +82,7 @@
G_DEFINE_BOXED_TYPE (GtkWidgetPath, gtk_widget_path,
gtk_widget_path_copy, gtk_widget_path_free)
gtk_widget_path_ref, gtk_widget_path_unref)
typedef struct GtkPathElement GtkPathElement;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment