summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakperm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/drakperm')
-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) {