mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
06e6a07ffb
Patch from fedora Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
30 lines
1 KiB
Diff
30 lines
1 KiB
Diff
diff --git a/sample/test/TestRange.cs b/sample/test/TestRange.cs
|
|
index 82fb811..29a8ee7 100644
|
|
--- a/sample/test/TestRange.cs
|
|
+++ b/sample/test/TestRange.cs
|
|
@@ -32,14 +32,14 @@ namespace WidgetViewer {
|
|
|
|
HScale hscale = new HScale (adjustment);
|
|
hscale.SetSizeRequest (150, -1);
|
|
- ((Range) hscale).UpdatePolicy = UpdateType.Delayed;
|
|
+ ((Gtk.Range) hscale).UpdatePolicy = UpdateType.Delayed;
|
|
|
|
hscale.Digits = 1;
|
|
hscale.DrawValue = true;
|
|
box2.PackStart (hscale, true, true, 0);
|
|
|
|
HScrollbar hscrollbar = new HScrollbar (adjustment);
|
|
- ((Range) hscrollbar).UpdatePolicy = UpdateType.Continuous;
|
|
+ ((Gtk.Range) hscrollbar).UpdatePolicy = UpdateType.Continuous;
|
|
box2.PackStart (hscrollbar, true, true, 0);
|
|
|
|
hscale = new HScale (adjustment);
|
|
@@ -59,7 +59,7 @@ namespace WidgetViewer {
|
|
vscale.SetSizeRequest (-1, 200);
|
|
vscale.Digits = 2;
|
|
vscale.DrawValue = true;
|
|
- ((Range) vscale).Inverted = true;
|
|
+ ((Gtk.Range) vscale).Inverted = true;
|
|
hbox.PackStart (vscale, true, true, 0);
|
|
|
|
vscale = new VScale (adjustment);
|