aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2016-04-26 15:34:30 -0300
committerRobert Tari <robert@tari.in>2021-07-06 02:27:15 +0200
commitba5a55ca476fef0fdb3a4f0bdd53fe771ea272c7 (patch)
tree3112c46f77578dd3274ebc43157067d1e53249a3 /src
parent32db30a126d9d96de51a2a0fa8d6fa820dc8d341 (diff)
downloadayatana-indicator-datetime-ba5a55ca476fef0fdb3a4f0bdd53fe771ea272c7.tar.gz
ayatana-indicator-datetime-ba5a55ca476fef0fdb3a4f0bdd53fe771ea272c7.tar.bz2
ayatana-indicator-datetime-ba5a55ca476fef0fdb3a4f0bdd53fe771ea272c7.zip
Make use of G_USEC_PER_SEC.
Diffstat (limited to 'src')
-rw-r--r--src/notifications.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/notifications.cpp b/src/notifications.cpp
index f3dcb14..f59a421 100644
--- a/src/notifications.cpp
+++ b/src/notifications.cpp
@@ -293,7 +293,7 @@ public:
data.m_title.c_str(),
nullptr,
data.m_body.c_str(),
- data.m_start_time * 1000000); // secs -> microsecs
+ data.m_start_time * G_USEC_PER_SEC); // secs -> microsecs
g_object_unref(icon);
if (msg)
{