Mercurial > pidgin
comparison src/util.h @ 8700:ddd2bf87fe8d
[gaim-migrate @ 9453]
I'm adding some of the oscar tooltip info to the oscar
get info dialog. I don't think I'm finished yet, but
I want to try something that might not work,
and it's easier to "cvs -z3 diff -u | patch -p0 -R"
than it is to un-do it.
committer: Tailor Script <tailor@pidgin.im>
| author | Mark Doliner <mark@kingant.net> |
|---|---|
| date | Sun, 18 Apr 2004 17:10:14 +0000 |
| parents | 56360561af5e |
| children | 92cbf9713795 |
comparison
equal
deleted
inserted
replaced
| 8699:775bd10da7f2 | 8700:ddd2bf87fe8d |
|---|---|
| 424 | 424 |
| 425 /** | 425 /** |
| 426 * Looks for %n, %d, or %t in a string, and replaces them with the | 426 * Looks for %n, %d, or %t in a string, and replaces them with the |
| 427 * specified name, date, and time, respectively. | 427 * specified name, date, and time, respectively. |
| 428 * | 428 * |
| 429 * The returned string is stored in a static buffer, so the result | |
| 430 * should be g_strdup()'d if it's intended to be used for long. | |
| 431 * | |
| 432 * @param str The string that may contain the special variables. | 429 * @param str The string that may contain the special variables. |
| 433 * @param name The sender name. | 430 * @param name The sender name. |
| 434 * | 431 * |
| 435 * @return A new string where the special variables are expanded. | 432 * @return A newly allocated string where the special variables are |
| 436 */ | 433 * expanded. This should be g_free'd by the caller. |
| 437 const char *gaim_str_sub_away_formatters(const char *str, const char *name); | 434 */ |
| 435 gchar *gaim_str_sub_away_formatters(const char *str, const char *name); | |
| 438 | 436 |
| 439 /** | 437 /** |
| 440 * Duplicates a string and replaces all newline characters from the | 438 * Duplicates a string and replaces all newline characters from the |
| 441 * source string with HTML linebreaks. | 439 * source string with HTML linebreaks. |
| 442 * | 440 * |
