# HG changeset patch # User Nathan Walp # Date 1101943457 0 # Node ID 627b081e9617f3c1c6d9c940cff3842ad378743c # Parent 1670916211090541be4e3a444c3442eb03999cec [gaim-migrate @ 11462] this is a little smarter I think committer: Tailor Script diff -r 167091621109 -r 627b081e9617 src/gtkblist.c --- 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) &&