aboutsummaryrefslogtreecommitdiff
path: root/src/notifications.cpp
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@canonical.com>2016-04-26 15:34:30 -0300
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-08-29 14:37:39 +0200
commit47668a01943088e23bd586f5bb26110ad2867727 (patch)
treef5c519ce6697cb9dee07fc2e6440a74211fa22bb /src/notifications.cpp
parent0c654b464fa215190c5fef74e8aa6e0d951224e7 (diff)
downloadayatana-indicator-datetime-47668a01943088e23bd586f5bb26110ad2867727.tar.gz
ayatana-indicator-datetime-47668a01943088e23bd586f5bb26110ad2867727.tar.bz2
ayatana-indicator-datetime-47668a01943088e23bd586f5bb26110ad2867727.zip
Make use of G_USEC_PER_SEC.
Diffstat (limited to 'src/notifications.cpp')
-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)
{