From 9d20748c5c49e11ec02379b4f35c4a55dabe8399 Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Wed, 5 Jun 2024 11:34:23 +0200 Subject: Fix linking a zone info to localtime --- src/slack-timedate.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/slack-timedate.h') diff --git a/src/slack-timedate.h b/src/slack-timedate.h index c80cbf2..2f8229f 100644 --- a/src/slack-timedate.h +++ b/src/slack-timedate.h @@ -73,13 +73,13 @@ namespace dlackware::timedate // Returns the system time zone. Glib::ustring timezone(); + + // Sets the system time zone to the one passed by the argument + // Returns true on success, false otherwise + bool set_timezone(gchar *, std::error_code& ec); }; } -// Sets the system time zone to the one passed by the argument -// Returns true on success, false otherwise -gboolean slack_set_timezone (gchar *); - // Changes the date/time // Takes the amount of seconds since UNIX epoche and // Returns true on success, false otherwise -- cgit v1.2.3