aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-filter-source-element.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-filter-source-element.c')
-rw-r--r--mail/em-filter-source-element.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/em-filter-source-element.c b/mail/em-filter-source-element.c
index 1d56cc1fd2..ab4c049183 100644
--- a/mail/em-filter-source-element.c
+++ b/mail/em-filter-source-element.c
@@ -259,7 +259,7 @@ get_widget (EFilterElement *fe)
if (fs->priv->sources == NULL)
em_filter_source_element_get_sources (fs);
- combobox = gtk_combo_box_new_text ();
+ combobox = gtk_combo_box_text_new ();
index = 0;
current_index = -1;
@@ -278,7 +278,8 @@ get_widget (EFilterElement *fe)
else
label = g_strdup_printf("%s <%s>", info->name, info->address);
- gtk_combo_box_append_text (GTK_COMBO_BOX (combobox), label);
+ gtk_combo_box_text_append_text (
+ GTK_COMBO_BOX_TEXT (combobox), label);
g_free (label);
if (fs->priv->current_url && !strcmp (info->url, fs->priv->current_url))