Mercurial > pidgin
diff src/util.h @ 13968:6fc412e59214
[gaim-migrate @ 16525]
A bunch of little things
* Use GAIM_CONNECTION_IS_VALID(gc) in a lot of places where
we were doing g_list_find(gaim_connections_get_all(), gc)
* Get rid of a lot of places where we were doing
g_list_find(gaim_connections_get_all(), gc). The handle used
by the request API ensures that the ok and cancel callback
functions won't be called if the gc is destroyed. However,
GAIM_CONNECTION_IS_VALID(gc) is still very important for
callback functions where we can't cancel the request.
For example, gaim_proxy_connect() callback functions.
* "Added" a function to Yahoo! that should help us notice
when our buddies change their buddy icon/display picture
* Some comments in a few places
* Changed GAIM_CONNECTION_IS_VALID(gc) to only look through
the list of "all" connections and not the list of
"connecting" connections. Some time ago we changed how
this was done so that the list of "all" connections now
includes the "connection" connections.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Thu, 20 Jul 2006 08:11:54 +0000 |
| parents | a539caf502b0 |
| children |
line wrap: on
line diff
--- a/src/util.h Thu Jul 20 07:31:15 2006 +0000 +++ b/src/util.h Thu Jul 20 08:11:54 2006 +0000 @@ -343,11 +343,12 @@ * in a GData hash table. The names of the attributes are lower-cased * in the hash table, and the name of the tag is case insensitive. * - * @param needle the name of the tag - * @param haystack the null-delimited string to search in - * @param start a pointer to the start of the tag if found - * @param end a pointer to the end of the tag if found - * @param attributes the attributes, if the tag was found + * @param needle The name of the tag + * @param haystack The null-delimited string to search in + * @param start A pointer to the start of the tag if found + * @param end A pointer to the end of the tag if found + * @param attributes The attributes, if the tag was found. This should + * be freed with g_datalist_clear(). * @return TRUE if the tag was found */ gboolean gaim_markup_find_tag(const char *needle, const char *haystack,
