diff options
author | Benjamin Otte <otte@redhat.com> | 2014-10-03 05:52:49 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2014-10-03 06:18:06 +0200 |
commit | 91467a45fc57d429b6d3eb91b6f8c2f3fa6c9654 (patch) | |
tree | 7637079c55d521809b8e3d7b505c77be14492bdb /gtk/gtkstylecontext.h | |
parent | 39453478abc5aafe3801471d8efe5b800fa7f5cf (diff) | |
download | gtk+-91467a45fc57d429b6d3eb91b6f8c2f3fa6c9654.tar.gz |
stylecontext: Deprecate functions
- gtk_style_context_get_background_color()
- gtk_style_context_get_border_color()
Those functions shouldn't be used anymore, because they don't represent
anything from the CSS styling we support. The background color often
isn't used due to background images and there are actually 4 different
border colors (1 for each side) - if there isn't also a border image in
use.
Diffstat (limited to 'gtk/gtkstylecontext.h')
-rw-r--r-- | gtk/gtkstylecontext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h index 653a52c67f..6184d84096 100644 --- a/gtk/gtkstylecontext.h +++ b/gtk/gtkstylecontext.h @@ -1083,11 +1083,11 @@ GDK_AVAILABLE_IN_ALL void gtk_style_context_get_color (GtkStyleContext *context, GtkStateFlags state, GdkRGBA *color); -GDK_AVAILABLE_IN_ALL +GDK_DEPRECATED_IN_3_16_FOR(gtk_render_background) void gtk_style_context_get_background_color (GtkStyleContext *context, GtkStateFlags state, GdkRGBA *color); -GDK_AVAILABLE_IN_ALL +GDK_DEPRECATED_IN_3_16_FOR(gtk_render_frame) void gtk_style_context_get_border_color (GtkStyleContext *context, GtkStateFlags state, GdkRGBA *color); |