summaryrefslogtreecommitdiff
path: root/src/slack-timedate.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/slack-timedate.h')
-rw-r--r--src/slack-timedate.h8
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