Mercurial > pidgin.yaz
comparison src/core.h @ 7646:c8337162c712
[gaim-migrate @ 8289]
"A masterpiece" says time magazine.
Rolling Stone raves, "8 stars!"
That guy gave it 4 thumbs up, and he only has 2 thumbs.
This fixes "[ 849022 ] "gaim-remote quit" causes seg fault"
http://sourceforge.net/tracker/index.php?func=detail&aid=849022&group_id=235&atid=100235
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Thu, 27 Nov 2003 19:04:19 +0000 |
parents | 25a616f16b6c |
children | fa6395637e2c |
comparison
equal
deleted
inserted
replaced
7645:28100686bde9 | 7646:c8337162c712 |
---|---|
53 /** | 53 /** |
54 * Quits the core of gaim, which, depending on the UI, may quit the | 54 * Quits the core of gaim, which, depending on the UI, may quit the |
55 * application using the gaim core. | 55 * application using the gaim core. |
56 */ | 56 */ |
57 void gaim_core_quit(void); | 57 void gaim_core_quit(void); |
58 | |
59 /** | |
60 * Calls gaim_core_quit(). This can be used as the function | |
61 * passed to g_timeout_add() when you want to shutdown Gaim | |
62 * in a specified amount of time. When shutting down Gaim | |
63 * from a plugin, you must use this with a timeout value of 0: | |
64 * g_timeout_add(0, gaim_core_quitcb, NULL); | |
65 * This is ensures that code from your plugin is not being | |
66 * executed when gaim_core_quit() is called. Otherwise you | |
67 * would get a core dump after gaim_core_quit() executes and | |
68 * control returns to your plugin because gaim_core_quit() frees | |
69 * all plugins. | |
70 */ | |
71 gboolean gaim_core_quit_cb(gpointer unused); | |
58 | 72 |
59 /** | 73 /** |
60 * Returns the version of the core library. | 74 * Returns the version of the core library. |
61 * | 75 * |
62 * @return The version of the core library. | 76 * @return The version of the core library. |