summaryrefslogtreecommitdiff
path: root/plugins/filebrowser
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2015-11-18 21:18:50 +0100
committerWolfgang Ulbrich <[email protected]>2015-12-01 22:31:33 +0100
commit9994dd399ab569d547e18cb5f01900f8db953312 (patch)
tree00e7b12b6a8e05bbde06abce527114792b8970c1 /plugins/filebrowser
parent125169f8cb0ee1d06179a3769fe3368b5df35527 (diff)
downloadpluma-9994dd399ab569d547e18cb5f01900f8db953312.tar.bz2
pluma-9994dd399ab569d547e18cb5f01900f8db953312.tar.xz
GTK3: don't use deprecated gtk_{v/h}-box
Diffstat (limited to 'plugins/filebrowser')
-rw-r--r--plugins/filebrowser/pluma-file-browser-widget.c4
1 files changed, 4 insertions, 0 deletions
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,