Mercurial > pidgin.yaz
annotate src/win32/win32dep.h @ 4187:56e07e5ccd9a
[gaim-migrate @ 4418]
Drew Martin (acm4me) writes:
"Fixes a bug in open_url() (browser.c) that causes gaim
to crash if the user tries to open a link when their
web_command variable is not set and web_browser is set
to manual. Crash can be reproduced w/these two config
settings:
web_browser { 2 }
web_command { }
This patch is one half patch ID 659914 (which is a
combined patch for both this and a new preference)."
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 03 Jan 2003 16:25:07 +0000 |
parents | 3b93be27b008 |
children | 217572342740 |
rev | line source |
---|---|
3630 | 1 /* |
2 * win32dep.h | |
3 */ | |
4 | |
5 #ifndef _WIN32DEP_H_ | |
6 #define _WIN32DEP_H_ | |
3712
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
7 #include <winsock.h> |
3950
c25cf0495533
[gaim-migrate @ 4129]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3907
diff
changeset
|
8 #include <gtk/gtk.h> |
3630 | 9 #include <gdk/gdkevents.h> |
4132
3b93be27b008
[gaim-migrate @ 4350]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4097
diff
changeset
|
10 #include "wgaimerror.h" |
3778
813304a57f88
[gaim-migrate @ 3918]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3712
diff
changeset
|
11 #include "libc_interface.h" |
3950
c25cf0495533
[gaim-migrate @ 4129]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3907
diff
changeset
|
12 #include "systray.h" |
3630 | 13 |
3712
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
14 /* |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
15 * PROTOS |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
16 */ |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
17 |
3950
c25cf0495533
[gaim-migrate @ 4129]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3907
diff
changeset
|
18 /** |
c25cf0495533
[gaim-migrate @ 4129]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3907
diff
changeset
|
19 ** win32dep.c |
c25cf0495533
[gaim-migrate @ 4129]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3907
diff
changeset
|
20 **/ |
c25cf0495533
[gaim-migrate @ 4129]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3907
diff
changeset
|
21 /* Misc */ |
4097
929d23ef2ded
[gaim-migrate @ 4312]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
4042
diff
changeset
|
22 FARPROC wgaim_find_and_loadproc(char*, char*); |
3950
c25cf0495533
[gaim-migrate @ 4129]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3907
diff
changeset
|
23 HINSTANCE wgaim_hinstance(void); |
3973
d9287e87ba56
[gaim-migrate @ 4157]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3950
diff
changeset
|
24 extern void wgaim_im_blink(GtkWidget*); |
3950
c25cf0495533
[gaim-migrate @ 4129]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3907
diff
changeset
|
25 |
c25cf0495533
[gaim-migrate @ 4129]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3907
diff
changeset
|
26 /* Determine Gaim paths */ |
3630 | 27 extern char* wgaim_install_dir(void); |
28 extern char* wgaim_lib_dir(void); | |
29 extern char* wgaim_locale_dir(void); | |
3950
c25cf0495533
[gaim-migrate @ 4129]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3907
diff
changeset
|
30 |
c25cf0495533
[gaim-migrate @ 4129]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3907
diff
changeset
|
31 /* init / cleanup */ |
3630 | 32 extern void wgaim_init(void); |
3907
41e7544a9c67
[gaim-migrate @ 4060]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3778
diff
changeset
|
33 extern void wgaim_cleanup(void); |
3630 | 34 |
3712
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
35 /* |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
36 * MACROS |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
37 */ |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
38 |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
39 /* |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
40 * Gaim specific |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
41 */ |
3630 | 42 #define DATADIR wgaim_install_dir() |
3712
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
43 #define LIBDIR wgaim_lib_dir() |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
44 #define LOCALEDIR wgaim_locale_dir() |
3630 | 45 |
3712
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
46 /* |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
47 * Gtk specific |
ac6ca3890c53
[gaim-migrate @ 3845]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
3630
diff
changeset
|
48 */ |
3630 | 49 /* Needed for accessing global variables outside the current module */ |
50 #ifdef G_MODULE_IMPORT | |
51 #undef G_MODULE_IMPORT | |
52 #endif | |
53 #define G_MODULE_IMPORT __declspec(dllimport) | |
54 | |
55 | |
56 #endif /* _WIN32DEP_H_ */ | |
57 |