[evince] Use gtk_scale_new instead of gtk_hscale_new
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] Use gtk_scale_new instead of gtk_hscale_new
- Date: Sun, 4 Dec 2011 11:52:23 +0000 (UTC)
commit 5a9a723dd15208b0c5c797caef941f56ecf667f1
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Sun Dec 4 12:50:06 2011 +0100
Use gtk_scale_new instead of gtk_hscale_new
shell/ev-annotation-properties-dialog.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/shell/ev-annotation-properties-dialog.c b/shell/ev-annotation-properties-dialog.c
index 6f78064..9fcacd6 100644
--- a/shell/ev-annotation-properties-dialog.c
+++ b/shell/ev-annotation-properties-dialog.c
@@ -180,7 +180,8 @@ 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]