summaryrefslogtreecommitdiff
path: root/src/dlg-batch-add.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-05-17 19:10:19 +0200
committerinfirit <[email protected]>2014-05-17 19:10:46 +0200
commit2e4577b38bcac84eb4ec795fc8082ddb22d608cb (patch)
treebe9c2b719d808d9a72f25026b6475296df9f6094 /src/dlg-batch-add.c
parent6bc8dd36781c37149b686e8b90e566f0512a998b (diff)
downloadengrampa-2e4577b38bcac84eb4ec795fc8082ddb22d608cb.tar.bz2
engrampa-2e4577b38bcac84eb4ec795fc8082ddb22d608cb.tar.xz
gtk2 fixup
Diffstat (limited to 'src/dlg-batch-add.c')
-rw-r--r--src/dlg-batch-add.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/dlg-batch-add.c b/src/dlg-batch-add.c
index e9d00a9..bc658bb 100644
--- a/src/dlg-batch-add.c
+++ b/src/dlg-batch-add.c
@@ -555,11 +555,7 @@ dlg_batch_add_files (FrWindow *window,
/* archive type combobox */
-#if GTK_CHECK_VERSION(2,24,0)
data->a_archive_type_combo_box = gtk_combo_box_text_new ();
-#else
- data->a_archive_type_combo_box = gtk_combo_box_new_text ();
-#endif
if (data->single_file)
data->supported_types = single_file_save_type;
else
@@ -567,11 +563,7 @@ dlg_batch_add_files (FrWindow *window,
sort_mime_types_by_extension (data->supported_types);
for (i = 0; data->supported_types[i] != -1; i++)
-#if GTK_CHECK_VERSION(2,24,0)
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);
-#else
- gtk_combo_box_append_text (GTK_COMBO_BOX (data->a_archive_type_combo_box), mime_type_desc[data->supported_types[i]].default_ext);
-#endif
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);