summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-25 12:25:17 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-25 12:25:17 +0000
commit5fc5fbae39036fdc15df991de61bd7e076da4fee (patch)
tree12e92f8900ea9e9a5f3572940abb0b68afee59de
parent609e5c0c0e883ebb7172e67a4f271a3ab687a063 (diff)
downloaddrakx-5fc5fbae39036fdc15df991de61bd7e076da4fee.tar
drakx-5fc5fbae39036fdc15df991de61bd7e076da4fee.tar.gz
drakx-5fc5fbae39036fdc15df991de61bd7e076da4fee.tar.bz2
drakx-5fc5fbae39036fdc15df991de61bd7e076da4fee.tar.xz
drakx-5fc5fbae39036fdc15df991de61bd7e076da4fee.zip
fix crash on adding new permission
-rwxr-xr-xperl-install/standalone/drakperm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/standalone/drakperm b/perl-install/standalone/drakperm
index 3d18e433b..cd3af7a43 100755
--- a/perl-install/standalone/drakperm
+++ b/perl-install/standalone/drakperm
@@ -301,8 +301,7 @@ sub row_setting_dialog {
my %perms;
$ok->signal_connect(clicked => sub {
unless ($iter) {
- $iter = Gtk2::TreeIter->new;
- $treeModel->append($iter, undef);
+ $iter = $treeModel->append(undef);
}
$treeModel->set($iter, 0 => $file->get_text);
if ($usr_check->get_active) {