summaryrefslogtreecommitdiffstats
path: root/avahi-utils/avahi-bookmarks.in
diff options
context:
space:
mode:
authorTrent Lloyd <lathiat@bur.st>2005-10-15 18:49:33 +0000
committerTrent Lloyd <lathiat@bur.st>2005-10-15 18:49:33 +0000
commit1231d2977ff2f5a19b3d9d74271085633ef6e341 (patch)
treee8556fd7e6f430135afc0cde0c5d80311c985bab /avahi-utils/avahi-bookmarks.in
parent5e641df76abfd84b3ac9edd2a5e77603e81250ec (diff)
* Fix avahi-utils to use new flags arguments
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@780 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-utils/avahi-bookmarks.in')
-rwxr-xr-xavahi-utils/avahi-bookmarks.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/avahi-utils/avahi-bookmarks.in b/avahi-utils/avahi-bookmarks.in
index df36f49..2de9186 100755
--- a/avahi-utils/avahi-bookmarks.in
+++ b/avahi-utils/avahi-bookmarks.in
@@ -71,7 +71,7 @@ class AvahiBookmarks(resource.Resource):
global domain
- browser = dbus.Interface(self.bus.get_object(avahi.DBUS_NAME, self.server.ServiceBrowserNew(avahi.IF_UNSPEC, avahi.PROTO_UNSPEC, stype, domain, 0)), avahi.DBUS_INTERFACE_SERVICE_BROWSER)
+ browser = dbus.Interface(self.bus.get_object(avahi.DBUS_NAME, self.server.ServiceBrowserNew(avahi.IF_UNSPEC, avahi.PROTO_UNSPEC, stype, domain, dbus.UInt32(0))), avahi.DBUS_INTERFACE_SERVICE_BROWSER)
browser.connect_to_signal('ItemNew', self.new_service)
browser.connect_to_signal('ItemRemove', self.remove_service)
@@ -116,7 +116,7 @@ class AvahiBookmarks(resource.Resource):
def new_service(self, interface, protocol, name, type, domain, flags):
- interface, protocol, name, type, domain, host, aprotocol, address, port, txt, flags = self.server.ResolveService(interface, protocol, name, type, domain, avahi.PROTO_UNSPEC, 0)
+ interface, protocol, name, type, domain, host, aprotocol, address, port, txt, flags = self.server.ResolveService(interface, protocol, name, type, domain, avahi.PROTO_UNSPEC, dbus.UInt32(0))
if use_host_names:
h = host