g_assert(r == service_resolver);
avahi_s_service_resolver_free(service_resolver);
service_resolver = NULL;
+ return;
}
if (event == AVAHI_RESOLVER_TIMEOUT)
avahi_set_allocator(avahi_glib_allocator());
- poll_api = avahi_glib_poll_new(NULL);
+ poll_api = avahi_glib_poll_new(NULL, G_PRIORITY_DEFAULT);
xml = glade_xml_new(AVAHI_INTERFACES_DIR"avahi-discover.glade", NULL, NULL);
main_window = glade_xml_get_widget(xml, "main_window");