Mercurial > pidgin
diff libgaim/core.c @ 14224:ab8a105eff62
[gaim-migrate @ 16905]
First step of getting wingaim working again.
libgaim and gtk are compiling.
The protocols aren't compiling yet.
There are a number of things that are compiling, but should be cleaned up.
committer: Tailor Script <tailor@pidgin.im>
| author | Daniel Atallah <daniel.atallah@gmail.com> |
|---|---|
| date | Sun, 20 Aug 2006 16:49:37 +0000 |
| parents | 60b1bc8dbf37 |
| children | f189327b9968 |
line wrap: on
line diff
--- a/libgaim/core.c Sun Aug 20 16:45:57 2006 +0000 +++ b/libgaim/core.c Sun Aug 20 16:49:37 2006 +0000 @@ -69,6 +69,10 @@ g_return_val_if_fail(ui != NULL, FALSE); g_return_val_if_fail(gaim_get_core() == NULL, FALSE); +#ifdef _WIN32 + wgaim_init(); +#endif + _core = core = g_new0(GaimCore, 1); core->ui = g_strdup(ui); core->reserved = NULL; @@ -199,6 +203,10 @@ g_free(core->ui); g_free(core); +#ifdef _WIN32 + wgaim_cleanup(); +#endif + _core = NULL; }
