diff options
author | monsta <[email protected]> | 2016-05-27 14:06:08 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-05-27 14:06:08 +0300 |
commit | f47350b1da9c2d91d6cd6a25085badc3be0c7925 (patch) | |
tree | b7ade22a67cd7d8876ab669c83b735cf0a4f8c37 /src/dlg-add-files.c | |
parent | 9bf273fb9b31f878fe597c605a8faa18d220c37a (diff) | |
download | engrampa-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.c | 6 |
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); |