summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-03-01 08:08:15 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-03-01 08:08:15 +0000
commit3861e18c99bb8ef691a4adc27e5933541e84fe37 (patch)
treeb1d2efdeb595f20701c4d353665f26997ec647d9
parentb7f3ed8e79e17a9307876c2bdfdbd5f05eae9907 (diff)
downloadcontrol-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-xcontrol-center4
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 => \&notebook_set_background);
#$notebook_global->signal_connect("style-set" => $notebook_set_background); # badly loop
$window_global->signal_connect(delete_event => \&quit_global);