diff options
author | Benjamin Otte <otte@redhat.com> | 2012-11-24 21:08:11 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-11-24 21:12:00 +0100 |
commit | 932794e10513b6999a742a16b774dc7f4bc52346 (patch) | |
tree | 8b13a91b48abb2334b74132aa4168efc65994b09 /gtk/gtkstyleproperties.c | |
parent | 324ff12553bb841cbb4afd658c8b221ac83e50d1 (diff) | |
download | gtk+-932794e10513b6999a742a16b774dc7f4bc52346.tar.gz |
styleprovider: Remove (broken) implementations of get_style
The implementations were broken and get_style() is deprecated and
documented to return NULL now.
Diffstat (limited to 'gtk/gtkstyleproperties.c')
-rw-r--r-- | gtk/gtkstyleproperties.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gtk/gtkstyleproperties.c b/gtk/gtkstyleproperties.c index 3589535ff5..06407b62e6 100644 --- a/gtk/gtkstyleproperties.c +++ b/gtk/gtkstyleproperties.c @@ -279,18 +279,9 @@ gtk_style_properties_finalize (GObject *object) G_OBJECT_CLASS (gtk_style_properties_parent_class)->finalize (object); } -static GtkStyleProperties * -gtk_style_properties_get_style (GtkStyleProvider *provider, - GtkWidgetPath *path) -{ - /* Return style set itself */ - return g_object_ref (provider); -} - static void gtk_style_properties_provider_init (GtkStyleProviderIface *iface) { - iface->get_style = gtk_style_properties_get_style; } static GtkSymbolicColor * |