diff options
Diffstat (limited to 'src/location-gnome-clock.c')
-rw-r--r-- | src/location-gnome-clock.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/location-gnome-clock.c b/src/location-gnome-clock.c index 3136ff2..1c08ce6 100644 --- a/src/location-gnome-clock.c +++ b/src/location-gnome-clock.c @@ -35,6 +35,11 @@ int location_gnome_clock_init(location_gnome_clock_state_t *state, char *args) { + if (args != NULL) { + fputs(_("Too many arguments.\n"), stderr); + return -1; + } + g_type_init(); GError *error = NULL; @@ -128,6 +133,13 @@ location_gnome_clock_free(location_gnome_clock_state_t *state) { } +void +location_gnome_clock_print_help(FILE *f) +{ + fputs(_("Use the location as set in the GNOME Clock applet.\n"), f); + fputs("\n", f); +} + int location_gnome_clock_get_location(location_gnome_clock_state_t *state, float *lat, float *lon) |