Mercurial > pidgin.yaz
view 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 |
line wrap: on
line source
/* * win32dep.h */ #ifndef _WIN32DEP_H_ #define _WIN32DEP_H_ #include <winsock.h> #include <gtk/gtk.h> #include <gdk/gdkevents.h> #include "wgaimerror.h" #include "libc_interface.h" #include "systray.h" /* * PROTOS */ /** ** win32dep.c **/ /* Misc */ FARPROC wgaim_find_and_loadproc(char*, char*); HINSTANCE wgaim_hinstance(void); extern void wgaim_im_blink(GtkWidget*); /* Determine Gaim paths */ extern char* wgaim_install_dir(void); extern char* wgaim_lib_dir(void); extern char* wgaim_locale_dir(void); /* init / cleanup */ extern void wgaim_init(void); extern void wgaim_cleanup(void); /* * MACROS */ /* * Gaim specific */ #define DATADIR wgaim_install_dir() #define LIBDIR wgaim_lib_dir() #define LOCALEDIR wgaim_locale_dir() /* * Gtk specific */ /* Needed for accessing global variables outside the current module */ #ifdef G_MODULE_IMPORT #undef G_MODULE_IMPORT #endif #define G_MODULE_IMPORT __declspec(dllimport) #endif /* _WIN32DEP_H_ */