Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Alter Switch creation_method so it works
I don't think it should actually be a descendent of ToggleButton
it doesn't need the label, so will probably redo later
  • Loading branch information
jonathanstowe committed May 17, 2016
1 parent 1a9fb5e commit 28bad1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/GTK/Simple.pm6
Expand Up @@ -779,7 +779,9 @@ class GTK::Simple::Switch is GTK::Simple::ToggleButton {
{*}

method creation_sub {
&gtk_switch_new
sub ($) {
gtk_switch_new()
}
}

method status() {
Expand Down

0 comments on commit 28bad1f

Please sign in to comment.