[gnome-desktop] test-wall-clock: Print the clock straight away



commit 7f20bbe65be9d6f312ce0dcec64930df6b4b2a4d
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Jul 25 11:40:58 2013 +0200

    test-wall-clock: Print the clock straight away
    
    Stops us from waiting a minute in the default configuration.

 libgnome-desktop/test-wall-clock.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/libgnome-desktop/test-wall-clock.c b/libgnome-desktop/test-wall-clock.c
index ebdf9b8..012c96e 100644
--- a/libgnome-desktop/test-wall-clock.c
+++ b/libgnome-desktop/test-wall-clock.c
@@ -28,6 +28,8 @@ int main (int argc, char **argv)
        g_signal_connect (G_OBJECT (clock), "notify::clock",
                          G_CALLBACK (clock_changed), NULL);
 
+       clock_changed (clock, NULL, NULL);
+
        g_main_loop_run (loop);
 
        return 0;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]