aboutsummaryrefslogtreecommitdiffstats
path: root/filter/e-filter-option.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-10-21 03:06:38 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-21 03:08:16 +0800
commit8da37ea812d5b784dade3dc0f05df54fdc60fc7a (patch)
tree04bf6d75a584f2f8af8c4b061e38bf8220a0bf15 /filter/e-filter-option.c
parent4142c97c7b59de8d859a217d7b76667b339e33c0 (diff)
downloadgsoc2013-evolution-8da37ea812d5b784dade3dc0f05df54fdc60fc7a.tar
gsoc2013-evolution-8da37ea812d5b784dade3dc0f05df54fdc60fc7a.tar.gz
gsoc2013-evolution-8da37ea812d5b784dade3dc0f05df54fdc60fc7a.tar.bz2
gsoc2013-evolution-8da37ea812d5b784dade3dc0f05df54fdc60fc7a.tar.lz
gsoc2013-evolution-8da37ea812d5b784dade3dc0f05df54fdc60fc7a.tar.xz
gsoc2013-evolution-8da37ea812d5b784dade3dc0f05df54fdc60fc7a.tar.zst
gsoc2013-evolution-8da37ea812d5b784dade3dc0f05df54fdc60fc7a.zip
Bug 632641 - Handle combo box text API going away
Diffstat (limited to 'filter/e-filter-option.c')
-rw-r--r--filter/e-filter-option.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/filter/e-filter-option.c b/filter/e-filter-option.c
index e8a4dcc4ae..16783cd433 100644
--- a/filter/e-filter-option.c
+++ b/filter/e-filter-option.c
@@ -36,6 +36,9 @@
#include "e-filter-option.h"
#include "e-filter-part.h"
+/* backward-compatibility cruft */
+#include "e-util/gtk-compat.h"
+
G_DEFINE_TYPE (
EFilterOption,
e_filter_option,
@@ -355,11 +358,12 @@ filter_option_get_widget (EFilterElement *element)
g_list_free (old_ops);
}
- combobox = gtk_combo_box_new_text ();
+ combobox = gtk_combo_box_text_new ();
l = option->options;
while (l) {
op = l->data;
- gtk_combo_box_append_text (GTK_COMBO_BOX (combobox), _(op->title));
+ gtk_combo_box_text_append_text (
+ GTK_COMBO_BOX_TEXT (combobox), _(op->title));
if (op == option->current)
current = index;