aboutsummaryrefslogtreecommitdiff
path: root/include/notifications/notifications.h
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2014-07-27 10:51:54 -0500
committerCharles Kerr <charles.kerr@canonical.com>2014-07-27 10:51:54 -0500
commit7271b2139a5c600a2c3cdb4e552e05ddb0f374dd (patch)
tree4e537b6864292c42a846ebfccee76bd04de309ba /include/notifications/notifications.h
parent31d63005e2937f7712a515f56645fe3c34628ca8 (diff)
downloadayatana-indicator-datetime-7271b2139a5c600a2c3cdb4e552e05ddb0f374dd.tar.gz
ayatana-indicator-datetime-7271b2139a5c600a2c3cdb4e552e05ddb0f374dd.tar.bz2
ayatana-indicator-datetime-7271b2139a5c600a2c3cdb4e552e05ddb0f374dd.zip
make close return void instead of bool, because after all what more can you do if the call fails? What's the point?
Diffstat (limited to 'include/notifications/notifications.h')
-rw-r--r--include/notifications/notifications.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/notifications/notifications.h b/include/notifications/notifications.h
index b4c88b4..43442d3 100644
--- a/include/notifications/notifications.h
+++ b/include/notifications/notifications.h
@@ -96,11 +96,11 @@ public:
/** Close a notification.
@param key the int returned by show()
@return true if the notification was closed. */
- bool close(int key);
+ void close(int key);
/** Close all remaining notifications.
*@return true if all closed successfully. */
- bool close_all();
+ void close_all();
const std::string& app_name() const;