Mercurial > pidgin
diff src/themes.c @ 4323:8a932c488afc
[gaim-migrate @ 4578]
This is so you don't have to restart Gaim to use a new theme, yo.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Fri, 17 Jan 2003 07:18:26 +0000 |
parents | 1cfad48b7d93 |
children | 6c1230d15958 |
line wrap: on
line diff
--- a/src/themes.c Fri Jan 17 04:24:29 2003 +0000 +++ b/src/themes.c Fri Jan 17 07:18:26 2003 +0000 @@ -68,11 +68,13 @@ struct smiley_list *list = NULL; GSList *lst = smiley_themes; char *dirname; + gboolean old=FALSE; while (lst) { struct smiley_theme *thm = lst->data; if (!strcmp(thm->path, file)) { theme = thm; + old = TRUE; break; } lst = lst->next; @@ -185,7 +187,7 @@ } g_free(dirname); - return theme; + return old ? NULL : theme; } void smiley_theme_probe()