event-widget: factor out clock format function
This function will be used by other pieces of code later. We also gain a tiny performance improvement, as only one GSetting is ever created.
This commit is contained in:
@@ -105,6 +105,8 @@ GDateTime* get_start_of_week (icaltimetype
|
||||
|
||||
GDateTime* get_end_of_week (icaltimetype *date);
|
||||
|
||||
gboolean is_clock_format_24h (void);
|
||||
|
||||
/* code brought from evolution */
|
||||
gsize e_strftime_fix_am_pm (gchar *str,
|
||||
gsize max,
|
||||
|
||||
Reference in New Issue
Block a user