SMClient.get


Description:

[ CCode ( cname = "xfce_sm_client_get" , has_construct_function = false ) ]
public SMClient.get ()

Gets the application's SM client instance.

This is best used with get_option_group above (and using the returned OptionGroup with parse), as the command line parsing will figure out many of the SM client's required property values for you.

If you have already created an SMClient instance using this function, this will return the same instance, i.e. you should *only* unref the first instance.

Returns:

A new SMClient instance -transfer full- on the first call only, other calls to this function are transfer none