From 9ca04c0f9d22d38183cf4384ea8774e3f6daf9ea Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 16 Jun 2014 04:53:14 +0200 Subject: [PATCH] themingengine: Remove now unused private API --- gtk/gtkthemingengine.c | 17 ----------------- gtk/gtkthemingengineprivate.h | 4 ---- 2 files changed, 21 deletions(-) diff --git a/gtk/gtkthemingengine.c b/gtk/gtkthemingengine.c index a1a0c550e4..683128d850 100644 --- a/gtk/gtkthemingengine.c +++ b/gtk/gtkthemingengine.c @@ -343,23 +343,6 @@ _gtk_theming_engine_set_context (GtkThemingEngine *engine, priv->context = context; } -GtkStyleContext * -_gtk_theming_engine_get_context (GtkThemingEngine *engine) -{ - g_return_val_if_fail (GTK_IS_THEMING_ENGINE (engine), NULL); - - return engine->priv->context; -} - -GtkCssValue * -_gtk_theming_engine_peek_property (GtkThemingEngine *engine, - guint property_id) -{ - g_return_val_if_fail (GTK_IS_THEMING_ENGINE (engine), NULL); - - return _gtk_style_context_peek_property (engine->priv->context, property_id); -} - /** * gtk_theming_engine_get_property: * @engine: a #GtkThemingEngine diff --git a/gtk/gtkthemingengineprivate.h b/gtk/gtkthemingengineprivate.h index 3f7b8846fe..245eb96118 100644 --- a/gtk/gtkthemingengineprivate.h +++ b/gtk/gtkthemingengineprivate.h @@ -27,12 +27,8 @@ G_BEGIN_DECLS void _gtk_theming_engine_paint_spinner (cairo_t *cr, gdouble radius, gdouble progress); - -GtkCssValue *_gtk_theming_engine_peek_property (GtkThemingEngine *engine, - guint property_id); void _gtk_theming_engine_set_context (GtkThemingEngine *engine, GtkStyleContext *context); -GtkStyleContext *_gtk_theming_engine_get_context (GtkThemingEngine *engine); G_END_DECLS