[ CCode ( has_construct_function = false , type = "TpBaseClient*" ) ]
[ Version ( deprecated = true , since = "0.11.5" ) ]
public SimpleApprover (DBusDaemon dbus, string name, bool uniquify, owned SimpleApproverAddDispatchOperationImpl callback)
Warning: SimpleApprover is deprecated.
Convenient function to create a new SimpleApprover instance.
New code should use SimpleApprover.with_am instead.
If dbus
is not the result of dup, you should call
SimpleApprover.with_am instead, so that
Account, Connection and
Contact instances can be shared between modules.
dbus |
a DBusDaemon object, may not be |
name |
the name of the Approver (see name for details) |
uniquify |
the value of the uniquify_name property |
callback |
the function called when AddDispatchOperation is called |
destroy |
called with |
user_data |
arbitrary user-supplied data passed to |
a new SimpleApprover |