widgetpath: Make structure refcounted

I want to use widget paths in a way that make a lot more sense with a
refcounted structure. See the following patches.
This commit is contained in:
Benjamin Otte
2011-05-27 16:36:07 +02:00
parent 91602cca6e
commit 03eb4c38c9
4 changed files with 54 additions and 4 deletions

View File

@ -41,6 +41,8 @@ GType gtk_widget_path_get_type (void) G_GNUC_CONST;
GtkWidgetPath * gtk_widget_path_new (void);
GtkWidgetPath * gtk_widget_path_copy (const GtkWidgetPath *path);
GtkWidgetPath * gtk_widget_path_ref (GtkWidgetPath *path);
void gtk_widget_path_unref (GtkWidgetPath *path);
void gtk_widget_path_free (GtkWidgetPath *path);
char * gtk_widget_path_to_string (const GtkWidgetPath *path);