Logo Search packages:      
Sourcecode: avahi version File versions  Download package

void avahi_glib_poll_free ( AvahiGLibPoll g  ) 

Free GLib main loop adapter

Definition at line 372 of file glib-watch.c.

                                            {
    GSource *s = &g->source;
    assert(g);

    cleanup_watches(g, 1);
    cleanup_timeouts(g, 1);

    g_main_context_unref(g->context);
    g_source_destroy(s);
    g_source_unref(s);
}


Generated by  Doxygen 1.6.0   Back to index