[gtk+] stylecontext: Remove unused function



commit ba881746145334e43bdfa7667be1fb7200873fb3
Author: Benjamin Otte <otte redhat com>
Date:   Thu Nov 8 18:21:45 2012 +0100

    stylecontext: Remove unused function

 gtk/gtkstylecontext.c        |   19 -------------------
 gtk/gtkstylecontextprivate.h |    5 -----
 2 files changed, 0 insertions(+), 24 deletions(-)
---
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index a139d39..afa9300 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -2701,25 +2701,6 @@ gtk_style_context_get_junction_sides (GtkStyleContext *context)
   return context->priv->info->junction_sides;
 }
 
-GtkCssValue *
-_gtk_style_context_resolve_color_value (GtkStyleContext    *context,
-                                        GtkCssValue        *current,
-                                        GtkCssDependencies  current_deps,
-					GtkCssValue        *color,
-                                        GtkCssDependencies *dependencies)
-{
-  g_return_val_if_fail (GTK_IS_STYLE_CONTEXT (context), FALSE);
-  g_return_val_if_fail (current != NULL, FALSE);
-  g_return_val_if_fail (color != NULL, FALSE);
-
-  return _gtk_symbolic_color_resolve_full ((GtkSymbolicColor *) color,
-                                           GTK_STYLE_PROVIDER_PRIVATE (context->priv->cascade),
-                                           current,
-                                           current_deps,
-                                           dependencies);
-}
-
-
 gboolean
 _gtk_style_context_resolve_color (GtkStyleContext    *context,
                                   GtkSymbolicColor   *color,
diff --git a/gtk/gtkstylecontextprivate.h b/gtk/gtkstylecontextprivate.h
index 7987b71..b48d1da 100644
--- a/gtk/gtkstylecontextprivate.h
+++ b/gtk/gtkstylecontextprivate.h
@@ -49,11 +49,6 @@ gboolean       _gtk_style_context_resolve_color              (GtkStyleContext
                                                               GtkSymbolicColor   *color,
                                                               GdkRGBA            *result,
                                                               GtkCssDependencies *dependencies);
-GtkCssValue *  _gtk_style_context_resolve_color_value        (GtkStyleContext    *context,
-                                                              GtkCssValue        *current,
-                                                              GtkCssDependencies  current_deps,
-                                                              GtkCssValue        *color,
-                                                              GtkCssDependencies *dependencies);
 void           _gtk_style_context_get_cursor_color           (GtkStyleContext    *context,
                                                               GdkRGBA            *primary_color,
                                                               GdkRGBA            *secondary_color);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]