gboolean purple_core_quit_cb ( gpointer unused )
Calls purple_core_quit(). This can be used as the function passed to
g_timeout_add() when you want to shutdown Purple in a specified amount of
time. When shutting down Purple from a plugin, you must use this instead of
purple_core_quit(); for an immediate exit, use a timeout value of 0:
This ensures that code from your plugin is not being executed when
purple_core_quit() is called. If the plugin called
directly, you would get a core dump after
purple_core_quit() executes and
control returns to your plugin because
purple_core_quit() frees all plugins.
This argument is for consistency with a timeout callback. It is otherwise unused.
|The argument can be |
|The data is owned by the caller of the function.|