Mercurial > pidgin
comparison src/util.c @ 11135:f2755f58a7da
[gaim-migrate @ 13196]
Straighten out some comments and get rid of a warning in gtkutils.c
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 20 Jul 2005 23:10:33 +0000 |
parents | a4611130e3eb |
children | 096020ae09a9 |
comparison
equal
deleted
inserted
replaced
11134:f78e7e982cf4 | 11135:f2755f58a7da |
---|---|
3168 if (*(c - 1) == '-') return FALSE; | 3168 if (*(c - 1) == '-') return FALSE; |
3169 | 3169 |
3170 return ((c - domain) > 3 ? TRUE : FALSE); | 3170 return ((c - domain) > 3 ? TRUE : FALSE); |
3171 } | 3171 } |
3172 | 3172 |
3173 /** Stolen from gnome_uri_list_extract_uris **/ | 3173 /* Stolen from gnome_uri_list_extract_uris */ |
3174 GList* gaim_uri_list_extract_uris (const gchar* uri_list) { | 3174 GList * |
3175 gaim_uri_list_extract_uris(const gchar *uri_list) | |
3176 { | |
3175 const gchar *p, *q; | 3177 const gchar *p, *q; |
3176 gchar *retval; | 3178 gchar *retval; |
3177 GList *result = NULL; | 3179 GList *result = NULL; |
3178 | 3180 |
3179 g_return_val_if_fail (uri_list != NULL, NULL); | 3181 g_return_val_if_fail (uri_list != NULL, NULL); |
3213 | 3215 |
3214 return g_list_reverse (result); | 3216 return g_list_reverse (result); |
3215 } | 3217 } |
3216 | 3218 |
3217 | 3219 |
3218 /** Stolen from gaim_uri_list_extract_filenames **/ | 3220 /* Stolen from gnome_uri_list_extract_filenames */ |
3219 GList* gaim_uri_list_extract_filenames (const gchar* uri_list) { | 3221 GList * |
3222 gaim_uri_list_extract_filenames(const gchar *uri_list) | |
3223 { | |
3220 GList *tmp_list, *node, *result; | 3224 GList *tmp_list, *node, *result; |
3221 | 3225 |
3222 g_return_val_if_fail (uri_list != NULL, NULL); | 3226 g_return_val_if_fail (uri_list != NULL, NULL); |
3223 | 3227 |
3224 result = gaim_uri_list_extract_uris (uri_list); | 3228 result = gaim_uri_list_extract_uris(uri_list); |
3225 | 3229 |
3226 tmp_list = result; | 3230 tmp_list = result; |
3227 while (tmp_list) { | 3231 while (tmp_list) { |
3228 gchar *s = (gchar*)tmp_list->data; | 3232 gchar *s = (gchar*)tmp_list->data; |
3229 | 3233 |