diff options
author | Milan Crha <mcrha@redhat.com> | 2010-10-28 03:43:25 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-10-28 03:43:25 +0800 |
commit | 2de2e7f12f3b4e5944732d1c2172a3d174d5a219 (patch) | |
tree | 8630b1ae27ddbaa9f09656b21fe512f31f15118a /e-util/e-util.c | |
parent | 9662ac73ccc857e04b941596eb58f72ecf01b76f (diff) | |
download | gsoc2013-evolution-2de2e7f12f3b4e5944732d1c2172a3d174d5a219.tar.gz gsoc2013-evolution-2de2e7f12f3b4e5944732d1c2172a3d174d5a219.tar.zst gsoc2013-evolution-2de2e7f12f3b4e5944732d1c2172a3d174d5a219.zip |
Workaround GtkComboBoxText/GtkComboBoxEntry in .ui files
Diffstat (limited to 'e-util/e-util.c')
-rw-r--r-- | e-util/e-util.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/e-util/e-util.c b/e-util/e-util.c index 22f792c3a7..f27b3f3660 100644 --- a/e-util/e-util.c +++ b/e-util/e-util.c @@ -57,6 +57,14 @@ #include "e-util.h" #include "e-util-private.h" +#include "gtk-compat.h" + +#if !GTK_CHECK_VERSION (2,23,0) + #undef GtkComboBoxText + ENSURE_GTK_COMBO_BOX_TEXT_TYPE +#else + ENSURE_GTK_COMBO_BOX_ENTRY_TYPE +#endif /** * e_get_gnome2_user_dir: |