• Christian Persch's avatar
    application: Add dbus register/unregister hooks · 4979c1d0
    Christian Persch authored
    When the application is using its D-Bus backend, it is useful to be able
    to export extra D-Bus objects at the right time, i.e. *before* the application
    tries to own the bus name. This is accomplished here by adding a hook
    in GApplicationClass for this; and a corresponding hook that will be called
    on unregistration to undo whatever the register hook did.
    
    Bug #675509.
    4979c1d0
gapplication-example-dbushooks.c 3.17 KB