diff options
author | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-07-29 22:29:31 +0000 |
---|---|---|
committer | jmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7> | 2011-07-29 22:29:31 +0000 |
commit | ae993695e41b87e3d2d4a3dfa73cb0e6f588b65c (patch) | |
tree | a1934b6f4259e49b3c98692abb1c2e78d8a581fa /gtk | |
parent | 8edf14bda90978cef12f061f979f85eb836647dc (diff) |
Looks like ->column was sealed during the gtk 2.13 development cycle.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38263 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/old-gtk-compat.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gtk/old-gtk-compat.h b/gtk/old-gtk-compat.h index 8326500853..b3e92962ce 100644 --- a/gtk/old-gtk-compat.h +++ b/gtk/old-gtk-compat.h @@ -79,11 +79,14 @@ # 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, 20, 0) && defined(GSEAL_ENABLE) +# if GTK_CHECK_VERSION (2, 14, 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: + * Accoriding to + * http://ftp.acc.umu.se/pub/GNOME/sources/gtk+/2.13/gtk+-2.13.4.changes + * access to the button element was sealed during 2.13. They also admit that + * they missed a use case and thus failed to provide an accessor function: * http://mail.gnome.org/archives/commits-list/2010-December/msg00578.html + * An accessor function was finally added in 3.0. */ # define gtk_tree_view_column_get_button(x) x->_g_sealed__button # else |