From 48aace185958f9a6363a8ac389924fcf73acb8a7 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 3 Jan 2009 13:19:01 +0100 Subject: event_pipe: moved variable "main_task" to main.c --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index b7154b4bb..c44b6df97 100644 --- a/src/main.c +++ b/src/main.c @@ -76,6 +76,7 @@ #include #endif +GThread *main_task; GMainLoop *main_loop; struct notify main_notify; @@ -242,6 +243,7 @@ int main(int argc, char *argv[]) changeToUser(); + main_task = g_thread_self(); main_loop = g_main_loop_new(NULL, FALSE); notify_init(&main_notify); -- cgit v1.2.3