[gtk+/wip/cssvalue: 69/164] cssvalue: Remove unused function



commit 8b0b0a7eacf7f3097020b923b222adb433ab3afd
Author: Benjamin Otte <otte redhat com>
Date:   Wed Mar 28 03:06:08 2012 +0200

    cssvalue: Remove unused function

 gtk/gtkcssvalue.c        |    7 -------
 gtk/gtkcssvalueprivate.h |    1 -
 2 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/gtk/gtkcssvalue.c b/gtk/gtkcssvalue.c
index d85f30d..50a249e 100644
--- a/gtk/gtkcssvalue.c
+++ b/gtk/gtkcssvalue.c
@@ -639,13 +639,6 @@ _gtk_css_value_get_rgba (const GtkCssValue *value)
   return value->u.ptr;
 }
 
-cairo_pattern_t *
-_gtk_css_value_get_pattern (const GtkCssValue *value)
-{
-  g_return_val_if_fail (_gtk_css_value_holds (value, CAIRO_GOBJECT_TYPE_PATTERN), NULL);
-  return value->u.ptr;
-}
-
 GtkGradient *
 _gtk_css_value_get_gradient (const GtkCssValue *value)
 {
diff --git a/gtk/gtkcssvalueprivate.h b/gtk/gtkcssvalueprivate.h
index a9dc842..d99dfd1 100644
--- a/gtk/gtkcssvalueprivate.h
+++ b/gtk/gtkcssvalueprivate.h
@@ -115,7 +115,6 @@ PangoStyle                      _gtk_css_value_get_pango_style            (const
 PangoVariant                    _gtk_css_value_get_pango_variant          (const GtkCssValue *value);
 PangoWeight                     _gtk_css_value_get_pango_weight           (const GtkCssValue *value);
 const GdkRGBA                  *_gtk_css_value_get_rgba                   (const GtkCssValue *value);
-cairo_pattern_t                *_gtk_css_value_get_pattern                (const GtkCssValue *value);
 GtkGradient                    *_gtk_css_value_get_gradient               (const GtkCssValue *value);
 
 G_END_DECLS



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