summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecascade.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-11-24 21:08:11 +0100
committerBenjamin Otte <otte@redhat.com>2012-11-24 21:12:00 +0100
commit932794e10513b6999a742a16b774dc7f4bc52346 (patch)
tree8b13a91b48abb2334b74132aa4168efc65994b09 /gtk/gtkstylecascade.c
parent324ff12553bb841cbb4afd658c8b221ac83e50d1 (diff)
downloadgtk+-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/gtkstylecascade.c')
-rw-r--r--gtk/gtkstylecascade.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gtk/gtkstylecascade.c b/gtk/gtkstylecascade.c
index b6fda51065..5061a060b8 100644
--- a/gtk/gtkstylecascade.c
+++ b/gtk/gtkstylecascade.c
@@ -91,16 +91,6 @@ gtk_style_cascade_iter_init (GtkStyleCascade *cascade,
return gtk_style_cascade_iter_next (cascade, iter);
}
-static GtkStyleProperties *
-gtk_style_cascade_get_style (GtkStyleProvider *provider,
- GtkWidgetPath *path)
-{
- /* This function is not used anymore by GTK and nobody
- * else is ever supposed to call it */
- g_warn_if_reached ();
- return NULL;
-}
-
static gboolean
gtk_style_cascade_get_style_property (GtkStyleProvider *provider,
GtkWidgetPath *path,
@@ -130,7 +120,6 @@ gtk_style_cascade_get_style_property (GtkStyleProvider *provider,
static void
gtk_style_cascade_provider_iface_init (GtkStyleProviderIface *iface)
{
- iface->get_style = gtk_style_cascade_get_style;
iface->get_style_property = gtk_style_cascade_get_style_property;
}