From ba5a55ca476fef0fdb3a4f0bdd53fe771ea272c7 Mon Sep 17 00:00:00 2001 From: Renato Araujo Oliveira Filho Date: Tue, 26 Apr 2016 15:34:30 -0300 Subject: Make use of G_USEC_PER_SEC. --- src/notifications.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) { -- cgit v1.2.3