pidgin 2.14.14dev
gtksession.h File Reference

X Windows session management API. More...

Go to the source code of this file.

Functions

X Windows session subsystem <br>
void pidgin_session_init (gchar *argv0, gchar *previous_id, gchar *config_dir)
 Register this instance of Pidgin with the user's current session manager. More...
 
void pidgin_session_end (void)
 Unregister this instance of Pidgin with the user's current session manager.
 

Detailed Description

X Windows session management API.

Definition in file gtksession.h.

Function Documentation

◆ pidgin_session_init()

void pidgin_session_init ( gchar *  argv0,
gchar *  previous_id,
gchar *  config_dir 
)

Register this instance of Pidgin with the user's current session manager.

Parameters
argv0The first argument passed into the program. This will be the name of the executable, e.g. 'purple'
previous_idAn optional session ID to use. This can be NULL.
config_dirThe path to the configuration directory used by this instance of this program, e.g. '/home/user/.purple'