From 5609227c672d94e54edec26e2b4db5f9e1697e17 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Sun, 27 Sep 2015 17:07:04 +0200 Subject: GTK3: Replace gtk_{v,h}box new with gtk_box_new - gtk_{v,h}box usage is deprecated since gtk+-3.2.0 --- src/caja-query-editor.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/caja-query-editor.c') diff --git a/src/caja-query-editor.c b/src/caja-query-editor.c index 45201831..67556ddc 100644 --- a/src/caja-query-editor.c +++ b/src/caja-query-editor.c @@ -34,6 +34,11 @@ #include #include +#if GTK_CHECK_VERSION (3, 0, 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 + typedef enum { CAJA_QUERY_EDITOR_ROW_LOCATION, -- cgit v1.2.1