summaryrefslogtreecommitdiff
path: root/src/caja-query-editor.c
diff options
context:
space:
mode:
authorJasmine Hassan <[email protected]>2012-10-25 14:13:07 +0200
committerJasmine Hassan <[email protected]>2012-11-16 09:45:53 +0200
commit345bf975a496493161baf455af07977d57cbf709 (patch)
tree437727f9803b7bd1dddd2668b2bba8db949600f9 /src/caja-query-editor.c
parentbd5fe64bb5ec8a9cdca866d7bc78baf8f725a9f9 (diff)
downloadcaja-345bf975a496493161baf455af07977d57cbf709.tar.bz2
caja-345bf975a496493161baf455af07977d57cbf709.tar.xz
[src] replace deprecated GtkComboBox text APIs with GtkComboBoxText
[src] don't use GtkComboBox text APIs (#632651) They got replaced by GtkComboBoxText. Thanks to Mathias Clasen and Flo Gravo. http://git.gnome.org/browse/nautilus/commit/?id=f123f99bee1005cd279783f9d441f538fcf85542
Diffstat (limited to 'src/caja-query-editor.c')
-rw-r--r--src/caja-query-editor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/caja-query-editor.c b/src/caja-query-editor.c
index 7beb13d0..1b7ea10f 100644
--- a/src/caja-query-editor.c
+++ b/src/caja-query-editor.c
@@ -967,11 +967,11 @@ caja_query_editor_add_row (CajaQueryEditor *editor,
gtk_widget_show (hbox);
gtk_box_pack_start (GTK_BOX (editor->details->visible_vbox), hbox, FALSE, FALSE, 0);
- combo = gtk_combo_box_new_text ();
+ combo = gtk_combo_box_text_new ();
row->combo = combo;
for (i = 0; i < CAJA_QUERY_EDITOR_ROW_LAST; i++)
{
- gtk_combo_box_append_text (GTK_COMBO_BOX (combo), gettext (row_type[i].name));
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combo), gettext (row_type[i].name));
}
gtk_widget_show (combo);
gtk_box_pack_start (GTK_BOX (hbox), combo, FALSE, FALSE, 0);