comparison src/gtkblist.c @ 10287:167091621109

[gaim-migrate @ 11461] if I understand the gtk 2.6 stuff, we want to do this... committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Wed, 01 Dec 2004 05:41:37 +0000
parents 810613c79589
children 627b081e9617
comparison
equal deleted inserted replaced
10286:ff5e0f059924 10287:167091621109
2826 c = g_utf8_next_char(c); /* this is fun */ 2826 c = g_utf8_next_char(c); /* this is fun */
2827 } 2827 }
2828 2828
2829 length = c - tmp; 2829 length = c - tmp;
2830 2830
2831 #if !GTK_CHECK_VERSION(2,6,0)
2831 if(vis == 20) 2832 if(vis == 20)
2832 g_snprintf(buf, sizeof(buf), "%%.%ds...", length); 2833 g_snprintf(buf, sizeof(buf), "%%.%ds...", length);
2833 else 2834 else
2835 #endif
2834 g_snprintf(buf, sizeof(buf), "%%s "); 2836 g_snprintf(buf, sizeof(buf), "%%s ");
2835 2837
2836 statustext = g_strdup_printf(buf, tmp); 2838 statustext = g_strdup_printf(buf, tmp);
2837 2839
2838 g_free(tmp); 2840 g_free(tmp);