Mercurial > pidgin
annotate src/gtksession.h @ 13764:8d972f41b4de
[gaim-migrate @ 16176]
Fix bug# 1464061. I haven't fixed a bug in forever and I needed a break from my old house plumbing nightmares. It seems that some versions of ejabberd don't necessarily provide an error element and we should probably not crash when this happens.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Thu, 11 May 2006 01:35:30 +0000 |
parents | fc464a0abccc |
children |
rev | line source |
---|---|
12246 | 1 /** |
2 * @file gtksession.h X Windows session management API | |
3 * @ingroup gtkui | |
4 * | |
5 * gaim | |
6 * | |
7 * Gaim is the legal property of its developers, whose names are too numerous | |
8 * to list here. Please refer to the COPYRIGHT file distributed with this | |
9 * source distribution. | |
10 * | |
11 * This program is free software; you can redistribute it and/or modify | |
12 * it under the terms of the GNU General Public License as published by | |
13 * the Free Software Foundation; either version 2 of the License, or | |
14 * (at your option) any later version. | |
15 * | |
16 * This program is distributed in the hope that it will be useful, | |
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
19 * GNU General Public License for more details. | |
20 * | |
21 * You should have received a copy of the GNU General Public License | |
22 * along with this program; if not, write to the Free Software | |
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
24 */ | |
25 #ifndef _GAIM_GTKSESSION_H_ | |
26 #define _GAIM_GTKSESSION_H_ | |
27 | |
28 /**************************************************************************/ | |
29 /** @name X Windows session subsystem */ | |
30 /**************************************************************************/ | |
31 /*@{*/ | |
32 | |
33 /** | |
12247 | 34 * Register this instance of Gaim with the user's current session |
35 * manager. | |
36 * | |
37 * @param argv0 The first argument passed into the program. This | |
38 * will be the name of the executable, e.g. 'gaim' | |
39 * @param previous_id An optional session ID to use. This can be NULL. | |
40 * @param config_dir The path to the configuration directory used by | |
41 * this instance of this program, e.g. '/home/user/.gaim' | |
12246 | 42 */ |
43 void gaim_gtk_session_init(gchar *argv0, gchar *previous_id, gchar *config_dir); | |
44 | |
45 /** | |
12247 | 46 * Unregister this instance of Gaim with the user's current session |
47 * manager. | |
12246 | 48 */ |
12323
fc464a0abccc
[gaim-migrate @ 14627]
Richard Laager <rlaager@wiktel.com>
parents:
12247
diff
changeset
|
49 void gaim_gtk_session_end(void); |
12246 | 50 |
51 /*@}*/ | |
52 | |
53 #endif /* _GAIM_GTKSESSION_H_ */ |