aboutsummaryrefslogtreecommitdiff
path: root/panel
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-01-28 16:26:45 -0600
committerCharles Kerr <charles.kerr@canonical.com>2014-01-28 16:26:45 -0600
commitee9f4c7ef822a101cea8d12c565d8a8a93d9caf5 (patch)
treeba2001502ccc38e337320efc6d4c24c8fec7c424 /panel
parente57a2e9b860db9776d94356a6fc38e193c801f65 (diff)
downloadayatana-indicator-datetime-ee9f4c7ef822a101cea8d12c565d8a8a93d9caf5.tar.gz
ayatana-indicator-datetime-ee9f4c7ef822a101cea8d12c565d8a8a93d9caf5.tar.bz2
ayatana-indicator-datetime-ee9f4c7ef822a101cea8d12c565d8a8a93d9caf5.zip
make utils.cpp's generate_full_format_string_at_time() a standalone function so that the panels can use the utils functions without a libindicatordatetime dependency
Diffstat (limited to 'panel')
-rw-r--r--panel/datetime-prefs-locations.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/panel/datetime-prefs-locations.c b/panel/datetime-prefs-locations.c
index b79c014..0437eb4 100644
--- a/panel/datetime-prefs-locations.c
+++ b/panel/datetime-prefs-locations.c
@@ -439,7 +439,7 @@ update_times (GtkWidget * dlg)
if (strzone && *strzone) {
GTimeZone * tz = g_time_zone_new (strzone);
GDateTime * now_tz = g_date_time_to_timezone (now, tz);
- gchar * format = generate_full_format_string_at_time (now, now_tz);
+ gchar * format = generate_full_format_string_at_time (now, now_tz, NULL);
gchar * time_str = g_date_time_format (now_tz, format);
gchar * old_time_str;