• Dan Winship's avatar
    libnm-glib: implement GInitable/GAsyncInitable in NMObject · 9fd98ef9
    Dan Winship authored
    Implement GInitable and GAsyncInitable in NMObject, with
    implementations that synchronously or asynchonously load all
    properties, and change _nm_object_ensure_inited() to run
    g_initable_init().
    
    Update the object/object-array property handling to initialize the
    objects after creating them (synchronously or asynchronously,
    according to the situation), so that they will have all of their
    properties preloaded before they are ever visible to the caller.
    
    Move the non-blocking/non-failable parts of various objects'
    constructor() methods to constructed(), and move the blocking/failable
    parts to init(), and implement init_async() methods with non-blocking
    versions of the blocking methods.
    
    Make nm_device_new() and nm_client_new() call
    _nm_object_ensure_inited(), to preserve the behaviour formerly
    enforced by their construct() methods, that properties are guaranteed
    to be initialized before any signals involving them are emitted.
    9fd98ef9
Name
Last commit
Last update
callouts Loading commit data...
cli Loading commit data...
data Loading commit data...
docs Loading commit data...
examples Loading commit data...
include Loading commit data...
initscript Loading commit data...
introspection Loading commit data...
libnm-glib Loading commit data...
libnm-util Loading commit data...
m4 Loading commit data...
man Loading commit data...
marshallers Loading commit data...
po Loading commit data...
policy Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
NetworkManager.pc.in Loading commit data...
README Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...