summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-24 18:19:38 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-24 18:19:38 +0000
commit50a459ae9aae44a5fa8771fa4207c229466bf053 (patch)
tree53bcaf18d13802d4cbaf2807164880f703206522
parent6220ad220337dfaf0e840966a3071300e8d90aa5 (diff)
downloaddrakx-50a459ae9aae44a5fa8771fa4207c229466bf053.tar
drakx-50a459ae9aae44a5fa8771fa4207c229466bf053.tar.gz
drakx-50a459ae9aae44a5fa8771fa4207c229466bf053.tar.bz2
drakx-50a459ae9aae44a5fa8771fa4207c229466bf053.tar.xz
drakx-50a459ae9aae44a5fa8771fa4207c229466bf053.zip
(_gtk__AboutDialog) stop using deprecated API
-rw-r--r--perl-install/mygtk2.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/mygtk2.pm b/perl-install/mygtk2.pm
index 2d6ea61f9..ff8a75c1f 100644
--- a/perl-install/mygtk2.pm
+++ b/perl-install/mygtk2.pm
@@ -656,7 +656,7 @@ sub _gtk__AboutDialog {
if (!$w) {
$w = Gtk2::AboutDialog->new;
$w->signal_connect(response => sub { $_[0]->destroy });
- $w->set_name(delete $opts->{name}) if exists $opts->{name};
+ $w->set_program_name(delete $opts->{name}) if exists $opts->{name};
$w->set_version(delete $opts->{version}) if exists $opts->{version};
$w->set_icon(gtknew('Pixbuf', file => delete $opts->{icon})) if exists $opts->{icon};
$w->set_logo(gtknew('Pixbuf', file => delete $opts->{logo})) if exists $opts->{logo};