From 33799d8b1d8417218688a7d2599c24bc14e04e4c Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 19 May 2010 12:42:48 -0500 Subject: Comments --- src/datetime-service.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/datetime-service.c b/src/datetime-service.c index d2e2b3e..ee29a7a 100644 --- a/src/datetime-service.c +++ b/src/datetime-service.c @@ -14,6 +14,9 @@ static GMainLoop * mainloop = NULL; static DbusmenuServer * server = NULL; static DbusmenuMenuitem * root = NULL; +/* Does the work to build the default menu, really calls out + to other functions but this is the core to clean up the + main function. */ static void build_menus (DbusmenuMenuitem * root) { @@ -21,6 +24,8 @@ build_menus (DbusmenuMenuitem * root) return; } +/* Repsonds to the service object saying it's time to shutdown. + It stops the mainloop. */ static void service_shutdown (IndicatorService * service, gpointer user_data) { @@ -29,6 +34,7 @@ service_shutdown (IndicatorService * service, gpointer user_data) return; } +/* Function to build everything up. Entry point from asm. */ int main (int argc, char ** argv) { -- cgit v1.2.3