From 9994dd399ab569d547e18cb5f01900f8db953312 Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Wed, 18 Nov 2015 21:18:50 +0100 Subject: GTK3: don't use deprecated gtk_{v/h}-box --- plugins/filebrowser/pluma-file-browser-widget.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins') diff --git a/plugins/filebrowser/pluma-file-browser-widget.c b/plugins/filebrowser/pluma-file-browser-widget.c index f7ec52d4..cc2575ca 100644 --- a/plugins/filebrowser/pluma-file-browser-widget.c +++ b/plugins/filebrowser/pluma-file-browser-widget.c @@ -50,6 +50,10 @@ #define XML_UI_FILE "pluma-file-browser-widget-ui.xml" #define LOCATION_DATA_KEY "pluma-file-browser-widget-location" +#if GTK_CHECK_VERSION (3, 0, 0) +#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y) +#endif + enum { BOOKMARKS_ID, -- cgit v1.2.1