summaryrefslogtreecommitdiffstats
path: root/clock.pl
diff options
context:
space:
mode:
Diffstat (limited to 'clock.pl')
-rwxr-xr-xclock.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/clock.pl b/clock.pl
index bb6be3dc..ebf207f4 100755
--- a/clock.pl
+++ b/clock.pl
@@ -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);