summaryrefslogtreecommitdiffstats
path: root/perl-install/ugtk2.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-07-30 11:13:43 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-07-30 11:13:43 +0000
commit72f75e3340b261d58e880030208c7551f9ab44c2 (patch)
tree5f1f44fa8e923585b011d9894e21da1e5cf37f0e /perl-install/ugtk2.pm
parentdb1fbb72da3516507b24795b008e28f612a57fd3 (diff)
downloaddrakx-backup-do-not-use-72f75e3340b261d58e880030208c7551f9ab44c2.tar
drakx-backup-do-not-use-72f75e3340b261d58e880030208c7551f9ab44c2.tar.gz
drakx-backup-do-not-use-72f75e3340b261d58e880030208c7551f9ab44c2.tar.bz2
drakx-backup-do-not-use-72f75e3340b261d58e880030208c7551f9ab44c2.tar.xz
drakx-backup-do-not-use-72f75e3340b261d58e880030208c7551f9ab44c2.zip
(shrink_topwindow) drop Gtk+-2.[02]x support
Diffstat (limited to 'perl-install/ugtk2.pm')
-rw-r--r--perl-install/ugtk2.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm
index 0c3c0dd8d..96672bb51 100644
--- a/perl-install/ugtk2.pm
+++ b/perl-install/ugtk2.pm
@@ -997,11 +997,7 @@ sub sync {
sub flush() { gtkflush() }
sub shrink_topwindow {
my ($o) = @_;
- if ($Gtk2::VERSION < 1.040) {
- $o->{rwindow}->signal_emit('size_allocate', Gtk2::Allocation->new(-1, -1, -1, -1));
- } else {
- $o->{rwindow}->signal_emit('size_allocate', Gtk2::Gdk::Rectangle->new(-1, -1, -1, -1));
- }
+ $o->{rwindow}->signal_emit('size_allocate', Gtk2::Gdk::Rectangle->new(-1, -1, -1, -1));
}
sub exit {
gtkset_mousecursor_normal(); #- for restoring a normal in any case