Mercurial > pidgin.yaz
comparison pidgin/gtkutils.c @ 27750:7dbac2598d51
fix a typo.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sat, 15 Dec 2007 14:24:07 +0000 |
parents | 6b74c3255901 |
children | 9a60b9fab0ea |
comparison
equal
deleted
inserted
replaced
27749:6b74c3255901 | 27750:7dbac2598d51 |
---|---|
3287 buf = g_malloc0(strlen(text) * 2); | 3287 buf = g_malloc0(strlen(text) * 2); |
3288 | 3288 |
3289 /* create layout */ | 3289 /* create layout */ |
3290 layout = gtk_widget_create_pango_layout(widget, ellipsis); | 3290 layout = gtk_widget_create_pango_layout(widget, ellipsis); |
3291 pango_layout_get_pixel_size(layout, &width, &height); | 3291 pango_layout_get_pixel_size(layout, &width, &height); |
3292 ewidth = width; /* length of ellisis text. */ | 3292 ewidth = width; /* length of ellipsis text. */ |
3293 | 3293 |
3294 len0 = 0; | 3294 len0 = 0; |
3295 len1 = g_utf8_strlen(text, -1); | 3295 len1 = g_utf8_strlen(text, -1); |
3296 len2 = len1; | 3296 len2 = len1; |
3297 | 3297 |