aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-28 18:42:20 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-28 18:42:20 +0000
commit5f12f683ee5feab9f8af4009cf4ada9976e2e17c (patch)
tree461889aa19a9d847bc027ec55f3af9695c48ea1d
parentfaf46301c00d7d9acbe06bac5ee9d6b439f8d277 (diff)
downloadrpmdrake-5f12f683ee5feab9f8af4009cf4ada9976e2e17c.tar
rpmdrake-5f12f683ee5feab9f8af4009cf4ada9976e2e17c.tar.gz
rpmdrake-5f12f683ee5feab9f8af4009cf4ada9976e2e17c.tar.bz2
rpmdrake-5f12f683ee5feab9f8af4009cf4ada9976e2e17c.tar.xz
rpmdrake-5f12f683ee5feab9f8af4009cf4ada9976e2e17c.zip
(add_parent) fix passing an extra useless parameter to recursive call to itself
-rw-r--r--Rpmdrake/gui.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index a1f4588a..3a0ca976 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -422,7 +422,7 @@ sub add_parent {
my $s2 = $s ? "$s|$_" : $_;
$wtree{$s2} ||= do {
my $pixbuf = get_icon($s2, $s);
- my $iter = $w->{tree_model}->append_set($s ? add_parent($s, $state, get_icon($s)) : undef,
+ my $iter = $w->{tree_model}->append_set($s ? add_parent($s, $state) : undef,
[ $grp_columns{label} => $_, if_($pixbuf, $grp_columns{icon} => $pixbuf) ]);
$iter;
};