diff --git a/src/evolution-webcal-notify.c b/src/evolution-webcal-notify.c
index fa23481..03c52ae 100644
--- a/src/evolution-webcal-notify.c
+++ b/src/evolution-webcal-notify.c
@@ -462,14 +462,14 @@ void e_webcal_query_user (const gchar * name, const gchar * desc,
 
   gtk_label_set_mnemonic_widget (GTK_LABEL (rlabel), tspinb);
 
-  combo = gtk_combo_box_new_text ();
+  combo = gtk_combo_box_text_new ();
   gtk_box_pack_start (GTK_BOX (hbox), combo, FALSE, FALSE, 0);
   gtk_widget_show (combo);
 
-  gtk_combo_box_append_text (GTK_COMBO_BOX (combo), _("Days"));
-  gtk_combo_box_append_text (GTK_COMBO_BOX (combo), _("Hours"));
-  gtk_combo_box_append_text (GTK_COMBO_BOX (combo), _("Minutes"));
-  gtk_combo_box_append_text (GTK_COMBO_BOX (combo), _("Weeks"));
+  gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), _("Days"));
+  gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), _("Hours"));
+  gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), _("Minutes"));
+  gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), _("Weeks"));
 
   gtk_combo_box_set_active (GTK_COMBO_BOX (combo),
                            E_ICALSHARE_TIMEOUT_HOURS);
