[gtk+] customproperty: Remove unused function



commit 55061eca592037a81d0b1127326d4c68df0a3aa2
Author: Benjamin Otte <otte redhat com>
Date:   Sat Nov 21 02:11:52 2015 +0100

    customproperty: Remove unused function

 gtk/gtkcsscustomproperty.c |   14 --------------
 1 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/gtk/gtkcsscustomproperty.c b/gtk/gtkcsscustomproperty.c
index fbaa840..f210ad3 100644
--- a/gtk/gtkcsscustomproperty.c
+++ b/gtk/gtkcsscustomproperty.c
@@ -33,20 +33,6 @@
 
 G_DEFINE_TYPE (GtkCssCustomProperty, _gtk_css_custom_property, GTK_TYPE_CSS_STYLE_PROPERTY)
 
-static GType
-gtk_css_custom_property_get_specified_type (GParamSpec *pspec)
-{
-  G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
-
-  if (pspec->value_type == GDK_TYPE_RGBA ||
-      pspec->value_type == GDK_TYPE_COLOR)
-    return GTK_TYPE_SYMBOLIC_COLOR;
-  else
-    return pspec->value_type;
-
-  G_GNUC_END_IGNORE_DEPRECATIONS;
-}
-
 static GtkCssValue *
 gtk_css_custom_property_parse_value (GtkStyleProperty *property,
                                      GtkCssParser     *parser)


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