Looks like button was deprecated with version 20, not 22

svn path=/trunk/; revision=38260
This commit is contained in:
Jörg Mayer 2011-07-29 16:50:35 +00:00
parent cccda1f981
commit 8689bbbb5c
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@
# define gtk_widget_get_style_context(x) gtk_widget_get_style(x)
# define gtk_style_context_get_color(x,y,z) gdkcolor_to_color_t(&z, &x->text[y])
# define gtk_style_context_get_color_background(x,y,z) gdkcolor_to_color_t(&z, &x->base[y])
# if GTK_CHECK_VERSION (2, 22, 0) && defined(GSEAL_ENABLE)
# if GTK_CHECK_VERSION (2, 20, 0) && defined(GSEAL_ENABLE)
/* This is too late, see https://bugzilla.gnome.org/show_bug.cgi?id=641089
* They also admit that they missed a use case and thus failed to provide
* an accessor function: