Mercurial > pidgin.yaz
diff src/prpl.c @ 3035:0f1766887ddd
[gaim-migrate @ 3048]
Maybe this totally sucks, maybe it doesn't. If you like this, please let me know.
If you have geniunely sincere constructive criticism, then approach me in a nic way.
If you think it sucks then you can build yourself a wee little bridge and get the hell on over it.
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Wed, 13 Mar 2002 04:06:23 +0000 |
parents | 87d11d2a7d59 |
children | 271a7f99ad76 |
line wrap: on
line diff
--- a/src/prpl.c Tue Mar 12 21:22:56 2002 +0000 +++ b/src/prpl.c Wed Mar 13 04:06:23 2002 +0000 @@ -41,6 +41,11 @@ void *data; }; +//struct _prpl_smiley { +// char *key; +// char *xpm; +//}; + struct prpl *find_prpl(int prot) { GSList *e = protocols; @@ -690,3 +695,16 @@ gtk_widget_show(regdlg); } + +GSList *add_smiley(GSList *list, char *key, char **xpm, int show) +{ + struct _prpl_smiley *smiley; + + smiley = (struct _prpl_smiley *)g_new0(struct _prpl_smiley, 1); + smiley->key = g_strdup(key); + smiley->xpm = xpm; + smiley->show = show; + list = g_slist_append(list, smiley); + + return list; +}