From 8da37ea812d5b784dade3dc0f05df54fdc60fc7a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 20 Oct 2010 15:06:38 -0400 Subject: Bug 632641 - Handle combo box text API going away --- mail/em-filter-editor.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mail/em-filter-editor.c') 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)); } -- cgit v1.2.3