[file-roller] handle combo box text api going away
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller] handle combo box text api going away
- Date: Thu, 21 Oct 2010 19:56:58 +0000 (UTC)
commit f1c4e0284840cb384de8ff71fe18d9c54f433483
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Oct 21 21:56:23 2010 +0200
handle combo box text api going away
it is being replaced by GtkComboBoxText in GTK3
[bug #632643]
src/dlg-batch-add.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/dlg-batch-add.c b/src/dlg-batch-add.c
index c1832f8..c8f0153 100644
--- a/src/dlg-batch-add.c
+++ b/src/dlg-batch-add.c
@@ -552,7 +552,7 @@ dlg_batch_add_files (FrWindow *window,
/* archive type combobox */
- data->a_archive_type_combo_box = gtk_combo_box_new_text ();
+ data->a_archive_type_combo_box = gtk_combo_box_text_new ();
if (data->single_file)
data->supported_types = single_file_save_type;
else
@@ -560,8 +560,8 @@ dlg_batch_add_files (FrWindow *window,
sort_mime_types_by_extension (data->supported_types);
for (i = 0; data->supported_types[i] != -1; i++)
- gtk_combo_box_append_text (GTK_COMBO_BOX (data->a_archive_type_combo_box),
- mime_type_desc[data->supported_types[i]].default_ext);
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (data->a_archive_type_combo_box),
+ mime_type_desc[data->supported_types[i]].default_ext);
gtk_box_pack_start (GTK_BOX (a_archive_type_box), data->a_archive_type_combo_box, TRUE, TRUE, 0);
gtk_widget_show_all (a_archive_type_box);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]