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 9477bd283..152d4eaa6 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -531,7 +531,7 @@ sub gtkfontinfo {
sub gtkmodify_font {
my ($w, $arg) = @_;
- $w->modify_font($arg);
+ $w->modify_font(ref($arg) ? $arg : Gtk2::Pango::FontDescription->from_string($arg));
$w;
}