comparison src/gtkutils.c @ 7804:622c9149609c

[gaim-migrate @ 8451] robot101 claims this is better committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 08 Dec 2003 03:51:33 +0000
parents d691cb95ee67
children e873d0bd0e6c
comparison
equal deleted inserted replaced
7803:ec291c2cad6a 7804:622c9149609c
1041 gaim_gtk_find_images(const char *message, GSList **list) 1041 gaim_gtk_find_images(const char *message, GSList **list)
1042 { 1042 {
1043 GData *attribs; 1043 GData *attribs;
1044 const char *tmp, *start, *end; 1044 const char *tmp, *start, *end;
1045 1045
1046 g_return_if_fail(message != NULL);
1047 g_return_if_fail( list != NULL);
1048
1046 tmp = message; 1049 tmp = message;
1047 while (gaim_markup_find_tag("img", tmp, &start, &end, &attribs)) { 1050 while (gaim_markup_find_tag("img", tmp, &start, &end, &attribs)) {
1048 GaimStoredImage *image = NULL; 1051 GaimStoredImage *image = NULL;
1049 GdkPixbufLoader *loader = NULL; 1052 GdkPixbufLoader *loader = NULL;
1050 GdkPixbuf *pixbuf = NULL; 1053 GdkPixbuf *pixbuf = NULL;