From a0292d6425b8413fe465285c78a670e6f09d72ec Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 22 Jun 2016 11:49:11 +0200 Subject: GTK+-3: do not use deprecated gtk_{h/v}box_new --- shell/ev-annotation-properties-dialog.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'shell/ev-annotation-properties-dialog.c') 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 -- cgit v1.2.1