diff options
| author | Eugen Wissner <belka@caraus.de> | 2024-06-05 11:34:23 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2024-06-05 11:34:23 +0200 |
| commit | 9d20748c5c49e11ec02379b4f35c4a55dabe8399 (patch) | |
| tree | 65065258e7870580f5226275468f818e9c194ca8 /src/slack-timedate.h | |
| parent | 9c95b1f8644943c52ed1b8361ddb1686d469ce2a (diff) | |
| download | slack-timedate-9d20748c5c49e11ec02379b4f35c4a55dabe8399.tar.gz | |
Fix linking a zone info to localtime
Diffstat (limited to 'src/slack-timedate.h')
| -rw-r--r-- | src/slack-timedate.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 |
