summaryrefslogtreecommitdiff
path: root/src/dlg-add-files.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-05-27 14:06:08 +0300
committermonsta <[email protected]>2016-05-27 14:06:08 +0300
commitf47350b1da9c2d91d6cd6a25085badc3be0c7925 (patch)
treeb7ade22a67cd7d8876ab669c83b735cf0a4f8c37 /src/dlg-add-files.c
parent9bf273fb9b31f878fe597c605a8faa18d220c37a (diff)
downloadengrampa-f47350b1da9c2d91d6cd6a25085badc3be0c7925.tar.bz2
engrampa-f47350b1da9c2d91d6cd6a25085badc3be0c7925.tar.xz
drop old GTK+2 code
Diffstat (limited to 'src/dlg-add-files.c')
-rw-r--r--src/dlg-add-files.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/dlg-add-files.c b/src/dlg-add-files.c
index b36b46b..0bc8880 100644
--- a/src/dlg-add-files.c
+++ b/src/dlg-add-files.c
@@ -32,10 +32,6 @@
#include "preferences.h"
#include "dlg-add-files.h"
-#if GTK_CHECK_VERSION (3, 0, 0)
-#define gtk_hbox_new(X, Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL, Y)
-#endif
-
typedef struct {
FrWindow *window;
GSettings *settings;
@@ -171,7 +167,7 @@ add_files_cb (GtkWidget *widget,
* newer than the archive version. */
data->add_if_newer_checkbutton = gtk_check_button_new_with_mnemonic (_("Add only if _newer"));
- main_box = gtk_hbox_new (FALSE, 20);
+ main_box = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 20);
gtk_container_set_border_width (GTK_CONTAINER (main_box), 0);
gtk_file_chooser_set_extra_widget (GTK_FILE_CHOOSER (file_sel), main_box);