summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-directory-view.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-09-27 17:07:04 +0200
committermonsta <[email protected]>2015-10-19 16:06:57 +0300
commit5609227c672d94e54edec26e2b4db5f9e1697e17 (patch)
tree58e3dd3e0336c733981d8c4213089f59af5f2931 /src/file-manager/fm-directory-view.c
parentd14fef384a435471860130f7337d5dea5bb824a0 (diff)
downloadcaja-5609227c672d94e54edec26e2b4db5f9e1697e17.tar.bz2
caja-5609227c672d94e54edec26e2b4db5f9e1697e17.tar.xz
GTK3: Replace gtk_{v,h}box new with gtk_box_new
- gtk_{v,h}box usage is deprecated since gtk+-3.2.0
Diffstat (limited to 'src/file-manager/fm-directory-view.c')
-rw-r--r--src/file-manager/fm-directory-view.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/file-manager/fm-directory-view.c b/src/file-manager/fm-directory-view.c
index ebf80eb3..157e0f95 100644
--- a/src/file-manager/fm-directory-view.c
+++ b/src/file-manager/fm-directory-view.c
@@ -127,6 +127,10 @@
#define MAX_MENU_LEVELS 5
#define TEMPLATE_LIMIT 30
+#if GTK_CHECK_VERSION (3, 0, 0)
+#define gtk_hbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL,Y)
+#endif
+
enum {
ADD_FILE,
BEGIN_FILE_CHANGES,