Mercurial > pidgin
annotate src/win_aim.c @ 3913:419bf1bc8fa2
[gaim-migrate @ 4072]
This should fix the bug where closing the debug window with the "X"
would not uncheck the preference for it.
Previously, it got unchecked then rechecked. The line I'm removing used
to be "misc_options_new ^= OPT_MISC_DEBUG;", which I guess is a hold
over or something of when prefs had that apply button, maybe.
I dunno. I think this should be good...
Roof.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Thu, 07 Nov 2002 03:34:46 +0000 |
| parents | 17b650a36bca |
| children |
| rev | line source |
|---|---|
| 3630 | 1 /* |
| 2 * win_aim.c | |
| 3 * | |
| 4 * Author: Herman Bloggs <hermanator12002@yahoo.com> | |
| 5 * Date: June, 2002 | |
| 6 * Description: Entry point for win32 gaim, and various win32 dependant | |
| 7 * routines. | |
| 8 */ | |
| 9 #include <windows.h> | |
| 10 #include <stdlib.h> | |
| 11 | |
| 12 /* | |
| 13 * GLOBALS | |
| 14 */ | |
|
3854
17b650a36bca
[gaim-migrate @ 4006]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
15 __declspec(dllimport) HINSTANCE gaimexe_hInstance; |
|
17b650a36bca
[gaim-migrate @ 4006]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
16 |
|
17b650a36bca
[gaim-migrate @ 4006]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
17 /* |
|
17b650a36bca
[gaim-migrate @ 4006]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
18 * LOCALS |
|
17b650a36bca
[gaim-migrate @ 4006]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
19 */ |
| 3630 | 20 |
| 21 /* | |
| 22 * PROTOTYPES | |
| 23 */ | |
| 24 extern int gaim_main( int, char** ); | |
| 25 | |
|
3854
17b650a36bca
[gaim-migrate @ 4006]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
26 |
| 3630 | 27 #ifdef __GNUC__ |
| 28 # ifndef _stdcall | |
| 29 # define _stdcall __attribute__((stdcall)) | |
| 30 # endif | |
| 31 #endif | |
| 32 | |
| 33 int _stdcall | |
| 34 WinMain (struct HINSTANCE__ *hInstance, | |
| 35 struct HINSTANCE__ *hPrevInstance, | |
| 36 char *lpszCmdLine, | |
| 37 int nCmdShow) | |
| 38 { | |
|
3854
17b650a36bca
[gaim-migrate @ 4006]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
39 gaimexe_hInstance = hInstance; |
| 3630 | 40 return gaim_main (__argc, __argv); |
| 41 } | |
| 42 |
