diff options
author | Benjamin Otte <otte@redhat.com> | 2020-01-23 00:45:27 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2020-01-28 02:17:02 +0100 |
commit | 49b47c913389dc395a48c2b19ac409412623c524 (patch) | |
tree | c497e097c229a761c8af69d4d04b3953fed2e532 /gtk/gtkcssnodedeclaration.c | |
parent | af6128b3ab39be9b5aee0d85963ea8b5f188d341 (diff) | |
download | gtk+-49b47c913389dc395a48c2b19ac409412623c524.tar.gz |
Remove GtkWidgetPath
... and all associated demos and tests.
Diffstat (limited to 'gtk/gtkcssnodedeclaration.c')
-rw-r--r-- | gtk/gtkcssnodedeclaration.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/gtk/gtkcssnodedeclaration.c b/gtk/gtkcssnodedeclaration.c index 63a9cb40ee..cd9dd4f47b 100644 --- a/gtk/gtkcssnodedeclaration.c +++ b/gtk/gtkcssnodedeclaration.c @@ -18,7 +18,6 @@ #include "config.h" #include "gtkcssnodedeclarationprivate.h" -#include "gtkwidgetpathprivate.h" #include <string.h> @@ -407,30 +406,6 @@ gtk_css_node_declaration_equal (gconstpointer elem1, return TRUE; } -void -gtk_css_node_declaration_add_to_widget_path (const GtkCssNodeDeclaration *decl, - GtkWidgetPath *path, - guint pos) -{ - GQuark *classes; - guint i; - - /* Set name and id */ - gtk_widget_path_iter_set_object_name (path, pos, decl->name); - if (decl->id) - gtk_widget_path_iter_set_name (path, pos, decl->id); - - /* Set widget classes */ - classes = get_classes (decl); - for (i = 0; i < decl->n_classes; i++) - { - gtk_widget_path_iter_add_qclass (path, pos, classes[i]); - } - - /* Set widget state */ - gtk_widget_path_iter_set_state (path, pos, decl->state); -} - static int cmpstr (gconstpointer a, gconstpointer b, |