File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ public class WelcomeView : DemoPage {
116116 });
117117
118118 alert_action. clicked. connect (() = > {
119- alert_action. hide () ;
119+ alert_action. visible = false ;
120120 });
121121 }
122122}
Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ public class Granite.TimePicker : Gtk.Entry {
246246 }
247247
248248 if (Granite . DateTime . is_clock_format_12h ()) {
249- am_pm_box. show () ;
249+ am_pm_box. visible = true ;
250250
251251 if (time. get_hour () > 12 ) {
252252 hours_spinbutton. set_value (time. get_hour () - 12 );
@@ -259,7 +259,7 @@ public class Granite.TimePicker : Gtk.Entry {
259259 // Make sure that bounds are set correctly
260260 hours_spinbutton. set_range (1 , 12 );
261261 } else {
262- am_pm_box. hide () ;
262+ am_pm_box. visible = false ;
263263 hours_spinbutton. set_value (time. get_hour ());
264264
265265 hours_spinbutton. set_range (0 , 23 );
You can’t perform that action at this time.
0 commit comments