From 0ecd00c6f86b4558e978c07221baebe64039525b Mon Sep 17 00:00:00 2001 From: infirit Date: Thu, 20 Nov 2014 19:26:59 +0100 Subject: Gtk3: Silence the GtkBox and GtkPaned deprecation warnings --- src/dlg-add-files.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/dlg-add-files.c') diff --git a/src/dlg-add-files.c b/src/dlg-add-files.c index 03f3828..18b70c8 100644 --- a/src/dlg-add-files.c +++ b/src/dlg-add-files.c @@ -31,6 +31,9 @@ #include "gtk-utils.h" #include "preferences.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; -- cgit v1.2.1