diff --git a/src/utils/gcal-utils.c b/src/utils/gcal-utils.c index 06f7d13b..f0eab32c 100644 --- a/src/utils/gcal-utils.c +++ b/src/utils/gcal-utils.c @@ -559,29 +559,6 @@ icaltime_compare_with_current (const ICalTime *date1, return result; } -/** - * is_clock_format_24h: - * - * Retrieves whether the current clock format is - * 12h or 24h based. - * - * Returns: %TRUE if the clock format is 24h, %FALSE - * otherwise. - */ -gboolean -is_clock_format_24h (void) -{ - static GSettings *settings = NULL; - g_autofree gchar *clock_format = NULL; - - if (!settings) - settings = g_settings_new ("org.gnome.desktop.interface"); - - clock_format = g_settings_get_string (settings, "clock-format"); - - return g_strcmp0 (clock_format, "24h") == 0; -} - /** * e_strftime_fix_am_pm: * diff --git a/src/utils/gcal-utils.h b/src/utils/gcal-utils.h index 4090c4df..048053e5 100644 --- a/src/utils/gcal-utils.h +++ b/src/utils/gcal-utils.h @@ -83,8 +83,6 @@ gint icaltime_compare_with_current (const ICalTime const ICalTime *date2, time_t *current_time_t); -gboolean is_clock_format_24h (void); - /* code brought from evolution */ gsize e_strftime_fix_am_pm (gchar *str, gsize max,