diff options
author | Remko Tronçon <git@el-tramo.be> | 2012-03-09 11:31:47 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2012-03-09 11:31:47 (GMT) |
commit | 1089374439fa6073800679817198e3c39283113e (patch) | |
tree | 39c070d8fe65dae6a70f44ccaac9dea5f2957f93 /SwifTools/Notifier/GrowlNotifier.mm | |
parent | c83da56f6c93db3dc8040be1137fd40a08bf4132 (diff) | |
download | swift-contrib-1089374439fa6073800679817198e3c39283113e.zip swift-contrib-1089374439fa6073800679817198e3c39283113e.tar.bz2 |
Fixed Growl crash.
Diffstat (limited to 'SwifTools/Notifier/GrowlNotifier.mm')
-rw-r--r-- | SwifTools/Notifier/GrowlNotifier.mm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SwifTools/Notifier/GrowlNotifier.mm b/SwifTools/Notifier/GrowlNotifier.mm index 31eabd3..b0f26ce 100644 --- a/SwifTools/Notifier/GrowlNotifier.mm +++ b/SwifTools/Notifier/GrowlNotifier.mm @@ -35,6 +35,7 @@ class GrowlNotifier::Private { GrowlNotifier::GrowlNotifier(const std::string& name) { p = boost::make_shared<Private>(); p->delegate = boost::intrusive_ptr<GrowlNotifierDelegate>([[GrowlNotifierDelegate alloc] init], false); + p->delegate.get().notifier = this; p->delegate.get().name = STD2NSSTRING(name); NSMutableArray* allNotifications = [[NSMutableArray alloc] init]; |