lib/libnotify.rb in libnotify-0.1.3 vs lib/libnotify.rb in libnotify-0.1.4
- old
+ new
@@ -109,11 +109,9 @@
notify_init(self.class.to_s) or raise "notify_init failed"
notify = notify_notification_new(summary, body, icon_path, nil)
notify_notification_set_urgency(notify, urgency)
notify_notification_set_timeout(notify, timeout || -1)
notify_notification_show(notify, nil)
- ensure
- notify_uninit
end
# @todo Simplify timeout=
def timeout=(timeout)
@timeout = case timeout