Version of g_bus_own_name_on_connection using closures instead of callbacks for easier binding in other languages.
| connection | |
| name |
the well-known name to own |
| flags |
a set of flags from the BusNameOwnerFlags enumeration |
| name_acquired_closure |
Closure to invoke when |
| name_lost_closure |
Closure to invoke when |
|
an identifier (never 0) that an be used with unown_name to stop owning the name. |