diff options
author | Timm Bäder <mail@baedert.org> | 2017-06-18 13:17:00 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-07-19 21:27:14 -0400 |
commit | e36ddfec177773ba993a8f8dcd566cf3fb3bb5aa (patch) | |
tree | 84ca109582e62ab1ae5f507fb0493151859f2d16 /gtk/gtkstylecascade.c | |
parent | cc60046ae914a39e2d3f03190e5c04296115c154 (diff) | |
download | gtk+-e36ddfec177773ba993a8f8dcd566cf3fb3bb5aa.tar.gz |
Remove all widget style property code
Diffstat (limited to 'gtk/gtkstylecascade.c')
-rw-r--r-- | gtk/gtkstylecascade.c | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/gtk/gtkstylecascade.c b/gtk/gtkstylecascade.c index 7d947b2f60..985099c6ea 100644 --- a/gtk/gtkstylecascade.c +++ b/gtk/gtkstylecascade.c @@ -96,40 +96,9 @@ gtk_style_cascade_iter_clear (GtkStyleCascadeIter *iter) g_free (iter->cascade_index); } -static gboolean -gtk_style_cascade_get_style_property (GtkStyleProvider *provider, - GtkWidgetPath *path, - GtkStateFlags state, - GParamSpec *pspec, - GValue *value) -{ - GtkStyleCascade *cascade = GTK_STYLE_CASCADE (provider); - GtkStyleCascadeIter iter; - GtkStyleProvider *item; - - for (item = gtk_style_cascade_iter_init (cascade, &iter); - item; - item = gtk_style_cascade_iter_next (cascade, &iter)) - { - if (gtk_style_provider_get_style_property (item, - path, - state, - pspec, - value)) - { - gtk_style_cascade_iter_clear (&iter); - return TRUE; - } - } - - gtk_style_cascade_iter_clear (&iter); - return FALSE; -} - static void gtk_style_cascade_provider_iface_init (GtkStyleProviderIface *iface) { - iface->get_style_property = gtk_style_cascade_get_style_property; } static GtkSettings * |