diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-10-23 08:43:50 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-10-23 08:43:50 (GMT) |
commit | ca8268eb662fedeef039bc39f7b8206c08610299 (patch) | |
tree | e317c4c8225efed85d1cd22a3a7f84015f7a2d3c /SwifTools | |
parent | 96be62f4a700e3bd50f4b6f177f02e5820a09106 (diff) | |
download | swift-contrib-ca8268eb662fedeef039bc39f7b8206c08610299.zip swift-contrib-ca8268eb662fedeef039bc39f7b8206c08610299.tar.bz2 |
Fixed compilation errors due to previous commit.
Diffstat (limited to 'SwifTools')
-rw-r--r-- | SwifTools/Notifier/SnarlNotifier.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SwifTools/Notifier/SnarlNotifier.cpp b/SwifTools/Notifier/SnarlNotifier.cpp index 1822b49..eb4addc 100644 --- a/SwifTools/Notifier/SnarlNotifier.cpp +++ b/SwifTools/Notifier/SnarlNotifier.cpp @@ -33,7 +33,7 @@ SnarlNotifier::~SnarlNotifier() { } } -void SnarlNotifier::doShowMessage(Type type, const String& subject, const String& description, const boost::filesystem::path& picture, boost::function<void()> callback) { +void SnarlNotifier::showMessage(Type type, const String& subject, const String& description, const boost::filesystem::path& picture, boost::function<void()> callback) { int timeout = (type == Type::IncomingMessage || type == Type::SystemMessage) ? DEFAULT_MESSAGE_NOTIFICATION_TIMEOUT_SECONDS : DEFAULT_STATUS_NOTIFICATION_TIMEOUT_SECONDS; int notificationID = snarl.ShowMessageEx(typeToString(type).getUTF8Data(), subject.getUTF8Data(), description.getUTF8Data(), timeout, picture.string().c_str(), window->getID(), SWIFT_SNARLNOTIFIER_MESSAGE_ID); if (notificationID > 0) { |