From 805e66683b1b11606ddff672e639da2c8906bbc3 Mon Sep 17 00:00:00 2001 From: jcid Date: Fri, 16 May 2008 21:18:21 +0200 Subject: - More switches from destroy() to delete() call for close window. --- src/ui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ui.cc') 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); -- cgit v1.2.3