diff options
Diffstat (limited to 'clock.pl')
-rwxr-xr-x | clock.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -155,10 +155,10 @@ $is24 = $h_old>12; $old_year += 1900; $calendar->select_month($old_month, $old_year); $calendar->select_day($old_day); -$::isEmbedded and kill 'USR2', $::CCPID; $button_reset->set_sensitive(0); $timer = Gtk->timeout_add(120, sub { time_to_rad(localtime(time)); Repaint($drawing_area) }); Gtk->main; +my_gtk->exit(0); sub cal_changed { !$its_reset and $timer and Gtk->timeout_remove($timer); |