diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-01 08:08:15 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-01 08:08:15 +0000 |
commit | 3861e18c99bb8ef691a4adc27e5933541e84fe37 (patch) | |
tree | b1d2efdeb595f20701c4d353665f26997ec647d9 | |
parent | b7f3ed8e79e17a9307876c2bdfdbd5f05eae9907 (diff) | |
download | control-center-3861e18c99bb8ef691a4adc27e5933541e84fe37.tar control-center-3861e18c99bb8ef691a4adc27e5933541e84fe37.tar.gz control-center-3861e18c99bb8ef691a4adc27e5933541e84fe37.tar.bz2 control-center-3861e18c99bb8ef691a4adc27e5933541e84fe37.tar.xz control-center-3861e18c99bb8ef691a4adc27e5933541e84fe37.zip |
(notebook_set_background) make a real function out of it rather than a
function reference
-rwxr-xr-x | control-center | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/control-center b/control-center index d6982da3..cb524089 100755 --- a/control-center +++ b/control-center @@ -537,7 +537,7 @@ gtkadd($window_global, ) ); -my $notebook_set_background = sub { +sub notebook_set_background { my ($w) = @_; return if !$w->realized; my $color = $notebook_global->get_style->base('normal'); @@ -555,7 +555,7 @@ widget "*mcc*" style "mcc" 0; }; -$notebook_global->signal_connect(realize => $notebook_set_background); +$notebook_global->signal_connect(realize => \¬ebook_set_background); #$notebook_global->signal_connect("style-set" => $notebook_set_background); # badly loop $window_global->signal_connect(delete_event => \&quit_global); |