From 7be1d57200e9672910ae0cef74ee0074e171dbf1 Mon Sep 17 00:00:00 2001 From: Joshua Judson Rosen Date: Sun, 26 Mar 2017 22:24:41 -0400 Subject: Invert GTK+/guile thread relationship Making the GTK+ thread the main thread, and subordinating the guile thread, lets the GUI continue to live after the robot has died-- which means that we'll be able to switch to just doing everything in the GUI without requiring a separate xterm to see the final stats after the robot dies. --- include/ui-window.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ui-window.h') diff --git a/include/ui-window.h b/include/ui-window.h index d9740a2..c8fa337 100644 --- a/include/ui-window.h +++ b/include/ui-window.h @@ -54,7 +54,7 @@ struct _UIWindowClass GType ui_window_get_type(void) G_GNUC_CONST; GtkWidget *ui_window_new(); -void ui_window_postinit(UIWindow *window, Map* map); +void ui_window_postinit(UIWindow *window, Map* volatile* map); G_END_DECLS -- cgit v1.1