summaryrefslogtreecommitdiff
path: root/src/eom-file-chooser.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-21 22:28:15 +0300
committermonsta <[email protected]>2016-11-21 22:28:15 +0300
commit9a94231819bbfaf23e477dc27c3966903ebdf1e1 (patch)
tree643b864764f69ce556ceeac785a2ed6e6f7c44d2 /src/eom-file-chooser.c
parente85aca3ba0c5f59b12fd557285cc74dbbb8bf909 (diff)
downloadeom-9a94231819bbfaf23e477dc27c3966903ebdf1e1.tar.bz2
eom-9a94231819bbfaf23e477dc27c3966903ebdf1e1.tar.xz
move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option
and require libmate-desktop >= 1.17
Diffstat (limited to 'src/eom-file-chooser.c')
-rw-r--r--src/eom-file-chooser.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/eom-file-chooser.c b/src/eom-file-chooser.c
index 62e7ea9..e14df54 100644
--- a/src/eom-file-chooser.c
+++ b/src/eom-file-chooser.c
@@ -45,11 +45,6 @@ static char *last_dir[] = { NULL, NULL, NULL, NULL };
EOM_TYPE_FILE_CHOOSER, \
EomFileChooserPrivate))
-#if GTK_CHECK_VERSION (3, 2, 0)
-#define gtk_hbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL,Y)
-#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y)
-#endif
-
struct _EomFileChooserPrivate
{
MateDesktopThumbnailFactory *thumb_factory;
@@ -395,7 +390,7 @@ eom_file_chooser_add_preview (GtkWidget *widget)
priv = EOM_FILE_CHOOSER (widget)->priv;
- vbox = gtk_vbox_new (FALSE, 6);
+ vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 6);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);
priv->image = gtk_image_new ();