Create a new GLib main loop adapter attached to the specified context. If context is NULL, the default main loop context is used. You can attach as many AvahiGLibPoll objects to the same context as you want. priority takes one of GLib's G_PRIORITY constants.