]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkstylecontext.c
symboliccolor: Deprecate
[~andy/gtk] / gtk / gtkstylecontext.c
index b74163ea1534a47a2d9512dbac0ea6b33cf05194..46822e27dca592b1533eb4c4ddffef94c80536a2 100644 (file)
@@ -2283,6 +2283,8 @@ _gtk_style_context_peek_style_property (GtkStyleContext *context,
                                                  widget_path,
                                                  state, pspec, &pcache->value))
         {
+          G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
+
           /* Resolve symbolic colors to GdkColor/GdkRGBA */
           if (G_VALUE_TYPE (&pcache->value) == GTK_TYPE_SYMBOLIC_COLOR)
             {
@@ -2319,6 +2321,8 @@ _gtk_style_context_peek_style_property (GtkStyleContext *context,
               gtk_symbolic_color_unref (color);
             }
 
+          G_GNUC_END_IGNORE_DEPRECATIONS;
+
           if (priv->widget)
             gtk_widget_path_free (widget_path);