aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-09-22 10:17:25 +0000
committerThierry Vignaud <tv@mandriva.org>2008-09-22 10:17:25 +0000
commit4434c6e98c80b20999f94ab5717741e44299b641 (patch)
treed98982fb7d3544679a35f92be6e46c702fcd5108
parent710a45ebefc28beb72f06ba7a1f4df401e6f170a (diff)
downloadrpmdrake-4434c6e98c80b20999f94ab5717741e44299b641.tar
rpmdrake-4434c6e98c80b20999f94ab5717741e44299b641.tar.gz
rpmdrake-4434c6e98c80b20999f94ab5717741e44299b641.tar.bz2
rpmdrake-4434c6e98c80b20999f94ab5717741e44299b641.tar.xz
rpmdrake-4434c6e98c80b20999f94ab5717741e44299b641.zip
do not uselessly load Gtk2::Gdk::Keysyms (reduce RSS by nearly 400Kb in MandrivaUpdate)
-rwxr-xr-xMandrivaUpdate1
-rw-r--r--Rpmdrake/gui.pm1
-rw-r--r--Rpmdrake/pkg.pm1
3 files changed, 0 insertions, 3 deletions
diff --git a/MandrivaUpdate b/MandrivaUpdate
index 37491d71..e731427d 100755
--- a/MandrivaUpdate
+++ b/MandrivaUpdate
@@ -39,7 +39,6 @@ use Rpmdrake::widgets;
use mygtk2 qw(gtknew); #- do not import anything else, especially gtkadd() which conflicts with ugtk2 one
use ugtk2 qw(:all);
-use Gtk2::Gdk::Keysyms;
use Gtk2::SimpleList;
# make Rpmdrake::gui aware MandrivaUpdate do not use the same columns ids as rpmdrake:
diff --git a/Rpmdrake/gui.pm b/Rpmdrake/gui.pm
index 617ef120..746531a9 100644
--- a/Rpmdrake/gui.pm
+++ b/Rpmdrake/gui.pm
@@ -38,7 +38,6 @@ use Rpmdrake::init;
use Rpmdrake::icon;
use Rpmdrake::pkg;
use Rpmdrake::icon;
-use Gtk2::Gdk::Keysyms;
use feature 'state';
our @EXPORT = qw(
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index e5a40139..be2ed7fb 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -60,7 +60,6 @@ our @EXPORT = qw(
use mygtk2 qw(gtknew);
use ugtk2 qw(:all);
-use Gtk2::Gdk::Keysyms;
our $priority_up_alread_warned;