summaryrefslogtreecommitdiff
path: root/src/themes/coco
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-07-22 15:09:47 +0200
committerraveit65 <[email protected]>2015-07-22 15:09:47 +0200
commit3e222bb72fd8ee2b33a6a3b9e9ee0f0fed983959 (patch)
tree0a598331cf492e962f2240a330c7d2b04a1138e1 /src/themes/coco
parenta012a1220be5092448b92ac611dd978afcb7efd1 (diff)
downloadmate-notification-daemon-3e222bb72fd8ee2b33a6a3b9e9ee0f0fed983959.tar.bz2
mate-notification-daemon-3e222bb72fd8ee2b33a6a3b9e9ee0f0fed983959.tar.xz
GTK3: replace deprecated gtk_[v/h]_box_new
Diffstat (limited to 'src/themes/coco')
-rw-r--r--src/themes/coco/coco-theme.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/themes/coco/coco-theme.c b/src/themes/coco/coco-theme.c
index f07479d..3be47b1 100644
--- a/src/themes/coco/coco-theme.c
+++ b/src/themes/coco/coco-theme.c
@@ -84,6 +84,11 @@ enum
#define BACKGROUND_OPACITY 0.90
#define GRADIENT_CENTER 0.7
+#if GTK_CHECK_VERSION (3, 2, 0)
+#define gtk_hbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL,Y)
+#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y)
+#endif
+
/* Support Nodoka Functions */
/* Handle clicking on link */