Skip to content

Commit

Permalink
Double ouch: wasn't using the dynamically generated callback object e…
Browse files Browse the repository at this point in the history
…ither.
  • Loading branch information
nfelger committed Jan 27, 2012
1 parent cae7161 commit 12255e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rype/api.rb
Expand Up @@ -98,7 +98,7 @@ def run_notification_thread

receiving_service_name = "com.nikofelger.rype-#{@application_name.gsub(/[^A-Za-z0-9-]/, '-')}-#{Process.pid}"
receiving_service = bus.request_service(receiving_service_name)
receiving_service.export(Notify.new("/com/Skype/Client"))
receiving_service.export(callback_interface.new("/com/Skype/Client"))
dbus_event_loop = DBus::Main.new
dbus_event_loop << bus
dbus_event_loop.run
Expand Down

0 comments on commit 12255e4

Please sign in to comment.