diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-01-16 09:32:13 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-01-16 09:32:13 +0100 |
commit | f11b3b7e50d03d9cf435bc9ec7532947ee95204f (patch) | |
tree | b37ea767b97a4f6e4d92d16ff48abbbfa00c3dc5 | |
parent | 9beda017b3947d37b0634f8816b904e654907ca4 (diff) | |
download | drakx-f11b3b7e50d03d9cf435bc9ec7532947ee95204f.tar drakx-f11b3b7e50d03d9cf435bc9ec7532947ee95204f.tar.gz drakx-f11b3b7e50d03d9cf435bc9ec7532947ee95204f.tar.bz2 drakx-f11b3b7e50d03d9cf435bc9ec7532947ee95204f.tar.xz drakx-f11b3b7e50d03d9cf435bc9ec7532947ee95204f.zip |
fix crash (mga#17484)
it looks like newer gtk+ fires some signals too early
-rw-r--r-- | perl-install/NEWS | 3 | ||||
-rw-r--r-- | perl-install/diskdrake/hd_gtk.pm | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 3edfbc05a..9f2dc09eb 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- diskdrake: + o fix crash (mga#17484) + Version 17.12 - 2 January 2016 - misc cleanups diff --git a/perl-install/diskdrake/hd_gtk.pm b/perl-install/diskdrake/hd_gtk.pm index 93625e921..68295879d 100644 --- a/perl-install/diskdrake/hd_gtk.pm +++ b/perl-install/diskdrake/hd_gtk.pm @@ -276,6 +276,7 @@ sub per_entry_info_box { sub current_kind_changed { my ($_in, $kind) = @_; + return if !$kind->{display_box}; $_->destroy foreach $kind->{display_box}->get_children; my @parts = kind2parts($kind); my $totalsectors = kind2sectors($kind, @parts); |