From 7dc23854634e8177fb03d403c0f71e9c10830694 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Thu, 23 Jul 2015 19:01:19 +0200 Subject: GTK3: Replace gtk_{v,h}box new with gtk_box_new for gtk+ >=3.2.0 --- src/eom-file-chooser.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/eom-file-chooser.c') diff --git a/src/eom-file-chooser.c b/src/eom-file-chooser.c index 6eaf30e..62e7ea9 100644 --- a/src/eom-file-chooser.c +++ b/src/eom-file-chooser.c @@ -45,6 +45,11 @@ 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; -- cgit v1.2.1