Mercurial > pidgin.yaz
diff pidgin/plugins/themeedit.c @ 31338:3c1563a54785
Build the "Pidgin Theme Editor" plugin on Windows too.
| author | Daniel Atallah <daniel.atallah@gmail.com> |
|---|---|
| date | Thu, 04 Nov 2010 18:23:41 +0000 |
| parents | 4e7a9940627e |
| children |
line wrap: on
line diff
--- a/pidgin/plugins/themeedit.c Tue Nov 02 20:55:06 2010 +0000 +++ b/pidgin/plugins/themeedit.c Thu Nov 04 18:23:41 2010 +0000 @@ -268,8 +268,14 @@ theme = pidgin_blist_get_theme(); if (!theme) { + const char *author; +#ifndef _WIN32 + author = getlogin(); +#else + author = "user"; +#endif theme = g_object_new(PIDGIN_TYPE_BLIST_THEME, "type", "blist", - "author", getlogin(), + "author", author, NULL); pidgin_blist_set_theme(theme); }
