summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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 7a2c59e97..b49529b9c 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -1437,7 +1437,7 @@ sub set_pixmap {
sub new {
my ($_class, $icon, $text, $o_options) = @_;
- my $darea = Gtk2::DrawingArea->new;
+ my $darea = gtknew('DrawingArea');
my $d_height = 54;
$darea->set_size_request(-1, $d_height);
$darea->modify_font(Gtk2::Pango::FontDescription->from_string("Sans Bold 14"));