diff src/gtkutils.h @ 7078:acd2a66e59ed

[gaim-migrate @ 7643] robot101 gave us images in notify_formatted windows. very cool. This lets what I committed earlier (which was support for images in jabber vcards) to work. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Tue, 30 Sep 2003 18:41:28 +0000
parents 41120df7ed94
children c4faffdc0862
line wrap: on
line diff
--- a/src/gtkutils.h	Tue Sep 30 18:40:18 2003 +0000
+++ b/src/gtkutils.h	Tue Sep 30 18:41:28 2003 +0000
@@ -259,6 +259,18 @@
 gboolean gaim_gtk_check_if_dir(const char *path, GtkFileSelection *filesel);
 
 /**
+ * Parses a message to find <IMG> tags with valid ID attributes that
+ * refer to images in Gaim's image store, and load them into a list
+ * of GdkPixbufs. Image tags with missing ID paramaters, or those that
+ * refer to images that are not in the store will have a corresponding
+ * NULL entry on the list.
+ *
+ * @param message The message to parse for image tags.
+ * @param list    A pointer to the GSList of GdkPixbufs that will be created.
+ */
+void gaim_gtk_find_images(const char *message, GSList **list);
+
+/**
  * Stylizes the specified text using HTML, according to the current
  * font options.
  *