pidgin/pidgin.c

changeset 43085
b349c302413c
parent 42482
d548bddf4fe4
equal deleted inserted replaced
43084:80bdedb243d7 43085:b349c302413c
26 #include "pidgincore.h" 26 #include "pidgincore.h"
27 27
28 #ifdef _WIN32 28 #ifdef _WIN32
29 /* suppress gcc "no previous prototype" warning */ 29 /* suppress gcc "no previous prototype" warning */
30 G_MODULE_EXPORT 30 G_MODULE_EXPORT
31 int __cdecl pidgin_main(HINSTANCE hint, int argc, char *argv[]); 31 int __cdecl pidgin_main(int argc, char *argv[]);
32 int __cdecl pidgin_main(HINSTANCE hint, int argc, char *argv[]) 32 int __cdecl pidgin_main(int argc, char *argv[])
33 #else 33 #else
34 int main(int argc, char *argv[]) 34 int main(int argc, char *argv[])
35 #endif 35 #endif
36 { 36 {
37 const gchar *test_prgname; 37 const gchar *test_prgname;
45 if (test_prgname != NULL) 45 if (test_prgname != NULL)
46 g_set_prgname(test_prgname); 46 g_set_prgname(test_prgname);
47 47
48 g_set_application_name(PIDGIN_NAME); 48 g_set_application_name(PIDGIN_NAME);
49 49
50 #ifdef _WIN32
51 winpidgin_set_exe_hinstance(hint);
52 #endif
53
54 return pidgin_start(argc, argv); 50 return pidgin_start(argc, argv);
55 } 51 }

mercurial