diff -r 59212c1d205a -r 0d63d673f170 src/gtknotify.c --- a/src/gtknotify.c Tue Sep 30 18:40:18 2003 +0000 +++ b/src/gtknotify.c Tue Sep 30 18:41:28 2003 +0000 @@ -270,6 +270,7 @@ GtkWidget *button; GtkWidget *imhtml; GtkWidget *sw; + GSList *images = NULL; int options = 0; char label_text[2048]; @@ -340,7 +341,20 @@ options ^= GTK_IMHTML_NO_NEWLINE; options ^= GTK_IMHTML_NO_SCROLL; - gtk_imhtml_append_text(GTK_IMHTML(imhtml), text, options); + gaim_gtk_find_images(text, &images); + gtk_imhtml_append_text_with_images(GTK_IMHTML(imhtml), text, options, images); + + if (images) { + GSList *tmp; + + for (tmp = images; tmp; tmp = tmp->next) { + GdkPixbuf *pixbuf = tmp->data; + if(pixbuf) + g_object_unref(pixbuf); + } + + g_slist_free(images); + } /* Show the window */ gtk_widget_show(window);