aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bookmarks/ephy-bookmarks-editor.c6
-rw-r--r--src/ephy-history-window.c12
2 files changed, 9 insertions, 9 deletions
diff --git a/src/bookmarks/ephy-bookmarks-editor.c b/src/bookmarks/ephy-bookmarks-editor.c
index 32a25caa1..be79d00f1 100644
--- a/src/bookmarks/ephy-bookmarks-editor.c
+++ b/src/bookmarks/ephy-bookmarks-editor.c
@@ -889,13 +889,13 @@ cmd_bookmarks_export (GtkAction *action,
/* Make a format selection combo & label */
label = gtk_label_new_with_mnemonic (_("File f_ormat:"));
- combo = gtk_combo_box_new_text ();
+ combo = gtk_combo_box_text_new ();
gtk_label_set_mnemonic_widget (GTK_LABEL (label), combo);
for (format = 0; format < G_N_ELEMENTS (export_formats); ++format)
{
- gtk_combo_box_append_text (GTK_COMBO_BOX (combo),
- _(export_formats[format].name));
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo),
+ _(export_formats[format].name));
}
g_object_set_data (G_OBJECT (dialog), "format-combo", combo);
diff --git a/src/ephy-history-window.c b/src/ephy-history-window.c
index ba81c6e0d..f3626b21e 100644
--- a/src/ephy-history-window.c
+++ b/src/ephy-history-window.c
@@ -952,24 +952,24 @@ build_search_box (EphyHistoryWindow *editor)
gtk_label_set_mnemonic_widget (GTK_LABEL (label), entry);
gtk_widget_show (label);
- combo = gtk_combo_box_new_text ();
+ combo = gtk_combo_box_text_new ();
gtk_widget_show (combo);
- gtk_combo_box_append_text (GTK_COMBO_BOX (combo), _("Last 30 minutes"));
- gtk_combo_box_append_text (GTK_COMBO_BOX (combo), _("Today"));
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), _("Last 30 minutes"));
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), _("Today"));
str = g_strdup_printf (ngettext ("Last %d day", "Last %d days", 2), 2);
- gtk_combo_box_append_text (GTK_COMBO_BOX (combo), str);
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), str);
g_free (str);
str = g_strdup_printf (ngettext ("Last %d day", "Last %d days", 3), 3);
- gtk_combo_box_append_text (GTK_COMBO_BOX (combo), str);
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), str);
g_free (str);
/* keep this in sync with embed/ephy-history.c's
* HISTORY_PAGE_OBSOLETE_DAYS */
str = g_strdup_printf (ngettext ("Last %d day", "Last %d days", 10), 10);
- gtk_combo_box_append_text (GTK_COMBO_BOX (combo), str);
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), str);
g_free (str);
g_settings_bind (EPHY_SETTINGS_STATE,