summaryrefslogtreecommitdiff
path: root/pluma/pluma-status-combo-box.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-status-combo-box.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-status-combo-box.c')
-rw-r--r--pluma/pluma-status-combo-box.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pluma/pluma-status-combo-box.c b/pluma/pluma-status-combo-box.c
index c5b8ac3c..2aed6510 100644
--- a/pluma/pluma-status-combo-box.c
+++ b/pluma/pluma-status-combo-box.c
@@ -26,6 +26,10 @@
#define PLUMA_STATUS_COMBO_BOX_GET_PRIVATE(object)(G_TYPE_INSTANCE_GET_PRIVATE((object), PLUMA_TYPE_STATUS_COMBO_BOX, PlumaStatusComboBoxPrivate))
+#if GTK_CHECK_VERSION (3, 0, 0)
+#define gtk_hbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL,Y)
+#endif
+
struct _PlumaStatusComboBoxPrivate
{
GtkWidget *frame;