Permalink
Browse files

Strange, the last parameter is not specified in docs...

  • Loading branch information...
1 parent 61e2059 commit 17d5ee488f112e95070ce82100527089a4f4330d @splattael committed Jan 2, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/libnotify/api.rb
  2. +1 −1 test/test_libnotify.rb
@@ -82,7 +82,7 @@ def show!
def update(options={}, &block)
apply_options(options, &block)
if @notification
- notify_notification_update(@notification, summary, body, icon_path)
+ notify_notification_update(@notification, summary, body, icon_path, nil)
notify_notification_show(@notification, nil)
else
show!
@@ -72,7 +72,7 @@ def test_icon_path_setter
end
def test_update
- libnotify(:summary => "hello", :body => "world")
+ libnotify(:summary => "hello", :body => "world").show!
libnotify.update(:summary => "hell") do |n|
n.body = "yeah"
end

0 comments on commit 17d5ee4

Please sign in to comment.