diff options
author | Benjamin Otte <otte@redhat.com> | 2014-10-03 15:48:29 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2014-10-03 15:51:45 +0200 |
commit | 3b83e4ee5cec3200703bada549f9c51d32915644 (patch) | |
tree | 77d45989b16656268c8590d01a27ce002444ebc6 /libgail-util | |
parent | c750cea4e57ed3bcb5ba7eada95d0be380aa2fe5 (diff) | |
download | gtk+-3b83e4ee5cec3200703bada549f9c51d32915644.tar.gz |
libgail: Add deprecation guards
Diffstat (limited to 'libgail-util')
-rw-r--r-- | libgail-util/gailmisc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libgail-util/gailmisc.c b/libgail-util/gailmisc.c index 1a10bb7246..4746359fc2 100644 --- a/libgail-util/gailmisc.c +++ b/libgail-util/gailmisc.c @@ -456,7 +456,9 @@ gail_misc_get_default_attributes (AtkAttributeSet *attrib_set, style_context = gtk_widget_get_style_context (widget); +G_GNUC_BEGIN_IGNORE_DEPRECATIONS gtk_style_context_get_background_color (style_context, 0, &color); +G_GNUC_END_IGNORE_DEPRECATIONS value = g_strdup_printf ("%u,%u,%u", (guint) ceil (color.red * 65536 - color.red), (guint) ceil (color.green * 65536 - color.green), |