aboutsummaryrefslogtreecommitdiff
path: root/src/ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.cc')
-rw-r--r--src/ui.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui.cc b/src/ui.cc
index 4d06214a..58f92118 100644
--- a/src/ui.cc
+++ b/src/ui.cc
@@ -601,7 +601,7 @@ UI::UI(int win_w, int win_h, const char* label, const UI *cur_ui) :
// Set handler for the close window event
// (the argument is set later via user_data())
- TopGroup->callback(close_window_cb);
+ callback(close_window_cb);
// Control panel
Panel = make_panel(win_w);