Mercurial > pidgin.yaz
changeset 10288:627b081e9617
[gaim-migrate @ 11462]
this is a little smarter I think
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Wed, 01 Dec 2004 23:24:17 +0000 |
parents | 167091621109 |
children | 5683613ea692 |
files | src/gtkblist.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkblist.c Wed Dec 01 05:41:37 2004 +0000 +++ b/src/gtkblist.c Wed Dec 01 23:24:17 2004 +0000 @@ -2808,6 +2808,7 @@ tmp = new; } +#if !GTK_CHECK_VERSION(2,6,0) if(tmp) { char buf[32]; char *c = tmp; @@ -2828,17 +2829,18 @@ length = c - tmp; -#if !GTK_CHECK_VERSION(2,6,0) if(vis == 20) g_snprintf(buf, sizeof(buf), "%%.%ds...", length); else -#endif g_snprintf(buf, sizeof(buf), "%%s "); statustext = g_strdup_printf(buf, tmp); g_free(tmp); } +#else + statustext = tmp; +#endif } if (gaim_presence_is_idle(presence) &&