summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/ev-annotation-properties-dialog.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/shell/ev-annotation-properties-dialog.c b/shell/ev-annotation-properties-dialog.c
index bd95d1ec..68736b27 100644
--- a/shell/ev-annotation-properties-dialog.c
+++ b/shell/ev-annotation-properties-dialog.c
@@ -24,10 +24,6 @@
#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
@@ -211,7 +207,7 @@ ev_annotation_properties_dialog_init (EvAnnotationPropertiesDialog *annot_dialog
gtk_widget_set_hexpand (annot_dialog->opacity, TRUE);
gtk_widget_show (annot_dialog->opacity);
- hbox = gtk_hbox_new (FALSE, 6);
+ hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
label = gtk_label_new (NULL);
markup = g_strdup_printf ("<small>%s</small>", _("Transparent"));