diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-10-21 03:06:38 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-21 03:08:16 +0800 |
commit | 8da37ea812d5b784dade3dc0f05df54fdc60fc7a (patch) | |
tree | 04bf6d75a584f2f8af8c4b061e38bf8220a0bf15 /mail/em-filter-editor.c | |
parent | 4142c97c7b59de8d859a217d7b76667b339e33c0 (diff) | |
download | gsoc2013-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 'mail/em-filter-editor.c')
-rw-r--r-- | mail/em-filter-editor.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mail/em-filter-editor.c b/mail/em-filter-editor.c index 705d972b2f..ca351e8e4a 100644 --- a/mail/em-filter-editor.c +++ b/mail/em-filter-editor.c @@ -35,6 +35,9 @@ #include "em-filter-editor.h" #include "em-filter-rule.h" +/* backward-compatibility cruft */ +#include "e-util/gtk-compat.h" + static gpointer parent_class; static EFilterRule * @@ -175,7 +178,8 @@ em_filter_editor_construct (EMFilterEditor *fe, gtk_list_store_clear (GTK_LIST_STORE (model)); for (i = 0; source_names[i].source; i++) { - gtk_combo_box_append_text (GTK_COMBO_BOX (combobox), source_names[i].name); + gtk_combo_box_text_append_text ( + GTK_COMBO_BOX_TEXT (combobox), source_names[i].name); sources = g_slist_append (sources, g_strdup (source_names[i].source)); } |