summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-11-28 16:45:19 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-28 16:45:19 +0100
commit1beca0f2649a43533ba42134b72721d7874e1000 (patch)
treebf719d54aab30710bfdd742069f379bf54e52869
parent7adb4a5a49c11aa1df5f3bbc4d9cca9b00b08fb0 (diff)
downloaddrak3d-1beca0f2649a43533ba42134b72721d7874e1000.tar
drak3d-1beca0f2649a43533ba42134b72721d7874e1000.tar.gz
drak3d-1beca0f2649a43533ba42134b72721d7874e1000.tar.bz2
drak3d-1beca0f2649a43533ba42134b72721d7874e1000.tar.xz
drak3d-1beca0f2649a43533ba42134b72721d7874e1000.zip
workaround a gtk+3 segfault
-rwxr-xr-xbin/drak3d4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/drak3d b/bin/drak3d
index 5764885..33626fb 100755
--- a/bin/drak3d
+++ b/bin/drak3d
@@ -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 {