aboutsummaryrefslogtreecommitdiff
path: root/src/notifications.cpp
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-08 13:41:39 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-12-08 13:41:39 +0100
commitb7950517a055b6aee4d0806e32dbd466a6ae59d0 (patch)
treed10281b8d1c2221e25d1e0c159884df0ffda520a /src/notifications.cpp
parentdabd7c8c65ef0132dbf75360ae83e9505cbe614d (diff)
downloadayatana-indicator-datetime-b7950517a055b6aee4d0806e32dbd466a6ae59d0.tar.gz
ayatana-indicator-datetime-b7950517a055b6aee4d0806e32dbd466a6ae59d0.tar.bz2
ayatana-indicator-datetime-b7950517a055b6aee4d0806e32dbd466a6ae59d0.zip
README.md: Add some manual line breaks.
Diffstat (limited to 'src/notifications.cpp')
-rw-r--r--src/notifications.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/notifications.cpp b/src/notifications.cpp
index 4856546..051653d 100644
--- a/src/notifications.cpp
+++ b/src/notifications.cpp
@@ -58,7 +58,7 @@ Builder::Builder():
Builder::~Builder()
{
}
-
+
void
Builder::set_title (const std::string& title)
{
@@ -163,7 +163,7 @@ public:
g_warning ("Unable to close notification %d: %s", key, error->message);
g_error_free (error);
}
-
+
// call the user callback and remove it from our bookkeeping
remove_closed_notification (key);
}
@@ -220,7 +220,7 @@ public:
m_notifications[key] = { nn, info.m_closed_callback };
g_signal_connect (nn.get(), "closed",
G_CALLBACK(on_notification_closed), this);
-
+
GError * error = nullptr;
if (notify_notification_show(nn.get(), &error))
{