summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-09-23 15:42:28 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-09-23 15:42:28 +0000
commit5ed343e502692d5c3fe757b1c9810f10a7b648d4 (patch)
tree55cd978ea9a42f92840042983cb0033d29ad5feb
parentdbb93ff9d07476cbbb26f2b5488d55b8238f627d (diff)
downloaddrakx-kbd-mouse-x11-5ed343e502692d5c3fe757b1c9810f10a7b648d4.tar
drakx-kbd-mouse-x11-5ed343e502692d5c3fe757b1c9810f10a7b648d4.tar.gz
drakx-kbd-mouse-x11-5ed343e502692d5c3fe757b1c9810f10a7b648d4.tar.bz2
drakx-kbd-mouse-x11-5ed343e502692d5c3fe757b1c9810f10a7b648d4.tar.xz
drakx-kbd-mouse-x11-5ed343e502692d5c3fe757b1c9810f10a7b648d4.zip
mark check_valid as internal
-rw-r--r--lib/Xconfig/main.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Xconfig/main.pm b/lib/Xconfig/main.pm
index f94e3c6..72bdfd9 100644
--- a/lib/Xconfig/main.pm
+++ b/lib/Xconfig/main.pm
@@ -172,7 +172,7 @@ sub configure_everything_or_configure_chooser {
my $raw_X = eval { Xconfig::xfree->read };
my $err = $@ && formatError($@);
- $err ||= check_valid($raw_X) if $raw_X; #- that's ok if config is empty
+ $err ||= _check_valid($raw_X) if $raw_X; #- that's ok if config is empty
if ($err) {
log::l("ERROR: bad X config file (error: $err)");
$options->{ignore_bad_conf} or $in->ask_okcancel('',
@@ -231,7 +231,7 @@ sub export_to_install_X {
$::o->{X}{Xinerama} = 1 if $X->{card}{Xinerama};
}
-sub check_valid {
+sub _check_valid {
my ($raw_X) = @_;
my %_sections = map {