From 389ab5b1c211f7319a3d4fa67544730973b65fb6 Mon Sep 17 00:00:00 2001 From: monsta Date: Wed, 23 Nov 2016 17:36:37 +0300 Subject: shell: replace deprecated function call inside GTK+3 code block --- shell/ev-annotation-properties-dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/ev-annotation-properties-dialog.c b/shell/ev-annotation-properties-dialog.c index eb736c5d..bd95d1ec 100644 --- a/shell/ev-annotation-properties-dialog.c +++ b/shell/ev-annotation-properties-dialog.c @@ -205,7 +205,7 @@ ev_annotation_properties_dialog_init (EvAnnotationPropertiesDialog *annot_dialog gtk_grid_attach (GTK_GRID (grid), label, 0, 2, 1, 1); gtk_widget_show (label); - annot_dialog->opacity = gtk_hscale_new_with_range (0, 100, 5); + annot_dialog->opacity = gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, 0, 100, 5); gtk_range_set_value (GTK_RANGE (annot_dialog->opacity), 100); gtk_grid_attach (GTK_GRID (grid), annot_dialog->opacity, 1, 2, 1, 1); gtk_widget_set_hexpand (annot_dialog->opacity, TRUE); -- cgit v1.2.1