summaryrefslogtreecommitdiff
path: root/shell/ev-annotation-properties-dialog.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-22 11:49:11 +0200
committerraveit65 <[email protected]>2016-06-22 11:49:11 +0200
commita0292d6425b8413fe465285c78a670e6f09d72ec (patch)
tree2a0517763e685ef74070803aad36a6916c31a9de /shell/ev-annotation-properties-dialog.c
parentfd09fb9251212e7161796a2007f2b1f8c97e57a9 (diff)
downloadatril-a0292d6425b8413fe465285c78a670e6f09d72ec.tar.bz2
atril-a0292d6425b8413fe465285c78a670e6f09d72ec.tar.xz
GTK+-3: do not use deprecated gtk_{h/v}box_new
Diffstat (limited to 'shell/ev-annotation-properties-dialog.c')
-rw-r--r--shell/ev-annotation-properties-dialog.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/shell/ev-annotation-properties-dialog.c b/shell/ev-annotation-properties-dialog.c
index 932a26ff..3d413096 100644
--- a/shell/ev-annotation-properties-dialog.c
+++ b/shell/ev-annotation-properties-dialog.c
@@ -24,6 +24,10 @@
#include "ev-annotation-properties-dialog.h"
+#if GTK_CHECK_VERSION (3, 0, 0)
+#define gtk_hbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL,Y)
+#endif
+
enum {
PROP_0,
PROP_ANNOT_TYPE