diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-28 16:45:19 +0100 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2013-11-28 16:45:19 +0100 |
commit | 1beca0f2649a43533ba42134b72721d7874e1000 (patch) | |
tree | bf719d54aab30710bfdd742069f379bf54e52869 /bin | |
parent | 7adb4a5a49c11aa1df5f3bbc4d9cca9b00b08fb0 (diff) | |
download | drak3d-1beca0f2649a43533ba42134b72721d7874e1000.tar drak3d-1beca0f2649a43533ba42134b72721d7874e1000.tar.gz drak3d-1beca0f2649a43533ba42134b72721d7874e1000.tar.bz2 drak3d-1beca0f2649a43533ba42134b72721d7874e1000.tar.xz drak3d-1beca0f2649a43533ba42134b72721d7874e1000.zip |
workaround a gtk+3 segfault
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/drak3d | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -110,7 +110,7 @@ sub choose_gtk { my $val = $_; my $match = find { $_->{$field} eq $val } @$list; $radio_group = gtknew('RadioButton', text => translate($match->{name}), - $radio_group ? (group => $radio_group->get_group) : (), + $radio_group ? (join => $radio_group) : (), if_($check_capabilities, sensitive => $glx->{capabilities}{$val}), active => $state{$type->{type}}{$field} eq $match->{$field}, toggled => sub { $state{$type->{type}}{$field} = $match->{$field} if $_[0]->get_active }, @@ -128,7 +128,7 @@ sub choose_gtk { gtknew('VBox', children_tight => [ gtknew('Label'), $types_group = gtknew('RadioButton', text => translate($type->{name}), - $types_group ? (group => $types_group->get_group) : (), + $types_group ? (join => $types_group) : (), sensitive => member($type, @$available_types), active => $state{type} eq $type, toggled => sub { |