diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-07-30 11:13:43 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-07-30 11:13:43 +0000 |
commit | 72f75e3340b261d58e880030208c7551f9ab44c2 (patch) | |
tree | 5f1f44fa8e923585b011d9894e21da1e5cf37f0e /perl-install | |
parent | db1fbb72da3516507b24795b008e28f612a57fd3 (diff) | |
download | drakx-72f75e3340b261d58e880030208c7551f9ab44c2.tar drakx-72f75e3340b261d58e880030208c7551f9ab44c2.tar.gz drakx-72f75e3340b261d58e880030208c7551f9ab44c2.tar.bz2 drakx-72f75e3340b261d58e880030208c7551f9ab44c2.tar.xz drakx-72f75e3340b261d58e880030208c7551f9ab44c2.zip |
(shrink_topwindow) drop Gtk+-2.[02]x support
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/ugtk2.pm | 6 |
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 |