summaryrefslogtreecommitdiff
path: root/pluma/pluma-tab-label.c
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 /pluma/pluma-tab-label.c
parent125169f8cb0ee1d06179a3769fe3368b5df35527 (diff)
downloadpluma-9994dd399ab569d547e18cb5f01900f8db953312.tar.bz2
pluma-9994dd399ab569d547e18cb5f01900f8db953312.tar.xz
GTK3: don't use deprecated gtk_{v/h}-box
Diffstat (limited to 'pluma/pluma-tab-label.c')
-rw-r--r--pluma/pluma-tab-label.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pluma/pluma-tab-label.c b/pluma/pluma-tab-label.c
index c429f11c..b14403bc 100644
--- a/pluma/pluma-tab-label.c
+++ b/pluma/pluma-tab-label.c
@@ -31,6 +31,10 @@
#define PLUMA_TAB_LABEL_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), PLUMA_TYPE_TAB_LABEL, PlumaTabLabelPrivate))
+#if GTK_CHECK_VERSION (3, 0, 0)
+#define gtk_hbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL,Y)
+#endif
+
/* Signals */
enum
{