Mercurial > pidgin
annotate src/win32/systray.h @ 5926:6c22d37c6a3c
[gaim-migrate @ 6366]
Another "should fix" commit! If calling gaim_connection_disconnect()
instead of gaim_account_disconnect() (which was happening at times), the
account's connection would never be set to NULL. Now we ensure that if the
account's connection is non-NULL, gaim_account_disconnect() is called first
instead of gaim_connection_disconnect().
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Fri, 20 Jun 2003 03:55:56 +0000 |
parents | 9657e243d001 |
children |
rev | line source |
---|---|
3946
8ef1360becfe
[gaim-migrate @ 4125]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
1 /* |
5913
9657e243d001
[gaim-migrate @ 6345]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4728
diff
changeset
|
2 * gaim |
9657e243d001
[gaim-migrate @ 6345]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4728
diff
changeset
|
3 * |
9657e243d001
[gaim-migrate @ 6345]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4728
diff
changeset
|
4 * File: systray.h |
9657e243d001
[gaim-migrate @ 6345]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4728
diff
changeset
|
5 * |
9657e243d001
[gaim-migrate @ 6345]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4728
diff
changeset
|
6 * Copyright (C) 2002-2003, Herman Bloggs <hermanator12002@yahoo.com> |
3946
8ef1360becfe
[gaim-migrate @ 4125]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
7 * |
5913
9657e243d001
[gaim-migrate @ 6345]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4728
diff
changeset
|
8 * This program is free software; you can redistribute it and/or modify |
9657e243d001
[gaim-migrate @ 6345]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4728
diff
changeset
|
9 * it under the terms of the GNU General Public License as published by |
9657e243d001
[gaim-migrate @ 6345]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4728
diff
changeset
|
10 * the Free Software Foundation; either version 2 of the License, or |
9657e243d001
[gaim-migrate @ 6345]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4728
diff
changeset
|
11 * (at your option) any later version. |
9657e243d001
[gaim-migrate @ 6345]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4728
diff
changeset
|
12 * |
9657e243d001
[gaim-migrate @ 6345]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4728
diff
changeset
|
13 * This program is distributed in the hope that it will be useful, |
9657e243d001
[gaim-migrate @ 6345]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4728
diff
changeset
|
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
9657e243d001
[gaim-migrate @ 6345]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4728
diff
changeset
|
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
9657e243d001
[gaim-migrate @ 6345]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4728
diff
changeset
|
16 * GNU General Public License for more details. |
9657e243d001
[gaim-migrate @ 6345]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4728
diff
changeset
|
17 * |
9657e243d001
[gaim-migrate @ 6345]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4728
diff
changeset
|
18 * You should have received a copy of the GNU General Public License |
9657e243d001
[gaim-migrate @ 6345]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4728
diff
changeset
|
19 * along with this program; if not, write to the Free Software |
9657e243d001
[gaim-migrate @ 6345]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4728
diff
changeset
|
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
9657e243d001
[gaim-migrate @ 6345]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4728
diff
changeset
|
21 * |
3946
8ef1360becfe
[gaim-migrate @ 4125]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
22 */ |
8ef1360becfe
[gaim-migrate @ 4125]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
23 #ifndef _SYSTRAY_H_ |
8ef1360becfe
[gaim-migrate @ 4125]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
24 #define _SYSTRAY_H_ |
8ef1360becfe
[gaim-migrate @ 4125]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
25 |
8ef1360becfe
[gaim-migrate @ 4125]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
26 extern void wgaim_systray_init(void); |
3972
f9e961773058
[gaim-migrate @ 4156]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3959
diff
changeset
|
27 extern void wgaim_created_loginwin( GtkWidget* ); |
3946
8ef1360becfe
[gaim-migrate @ 4125]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
28 extern void wgaim_systray_cleanup(void); |
3972
f9e961773058
[gaim-migrate @ 4156]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3959
diff
changeset
|
29 extern void wgaim_systray_minimize( GtkWidget* ); |
f9e961773058
[gaim-migrate @ 4156]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3959
diff
changeset
|
30 extern void wgaim_systray_maximize( GtkWidget* ); |
3946
8ef1360becfe
[gaim-migrate @ 4125]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff
changeset
|
31 #endif /* _SYSTRAY_H_ */ |