summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-11-23 17:36:37 +0300
committermonsta <[email protected]>2016-11-23 17:43:20 +0300
commit389ab5b1c211f7319a3d4fa67544730973b65fb6 (patch)
tree0683468548471509741ab6a32e63e211c4349d7e
parent172d3b6800c518b14e5cc71d9f8c4c035f33dc47 (diff)
downloadatril-389ab5b1c211f7319a3d4fa67544730973b65fb6.tar.bz2
atril-389ab5b1c211f7319a3d4fa67544730973b65fb6.tar.xz
shell: replace deprecated function call inside GTK+3 code block
-rw-r--r--shell/ev-annotation-properties-dialog.c2
1 files changed, 1 insertions, 1 deletions
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);