summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2005-01-31 17:56:02 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2005-01-31 17:56:02 +0000
commit87b4f920212c20c899d36e329fbf1ba5cd5ba5df (patch)
treeefcdfe915fd4b4a6692661b61468c140d81121bf
parentbb54f44acdd7ccedd4e597953310363da4e191a1 (diff)
downloadcontrol-center-87b4f920212c20c899d36e329fbf1ba5cd5ba5df.tar
control-center-87b4f920212c20c899d36e329fbf1ba5cd5ba5df.tar.gz
control-center-87b4f920212c20c899d36e329fbf1ba5cd5ba5df.tar.bz2
control-center-87b4f920212c20c899d36e329fbf1ba5cd5ba5df.tar.xz
control-center-87b4f920212c20c899d36e329fbf1ba5cd5ba5df.zip
workaround disappearing gdk window (#13190)
-rwxr-xr-xcontrol-center2
1 files changed, 1 insertions, 1 deletions
diff --git a/control-center b/control-center
index b34b2117..e476db31 100755
--- a/control-center
+++ b/control-center
@@ -1154,7 +1154,7 @@ foreach (@tree) {
}
);
$event_box->set_events([ 'enter_notify_mask', 'leave_notify_mask', 'button_press_mask', 'button_release_mask' ]);
- $tool_feedback{$label} = sub { $event_box->window->set_cursor($hand_cursor) };
+ $tool_feedback{$label} = sub { $event_box->window && $event_box->window->set_cursor($hand_cursor) };
$event_box;
} @subtree));