summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/ugtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index e7e9ece9c..d55cf0e6c 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -614,7 +614,7 @@ sub get_text_coord {
@t2 = @t;
}
foreach (@t2) {
- my ($l, undef) = gtkstring_size($_ . (!$flag ? $wrap_char : ''));
+ my ($l, undef) = string_size($_ . (!$flag ? $wrap_char : ''));
if ($width + $l > $max_width2 && !$flag) {
$flag = 1;
$height += $height_elem + 1;