diff options
author | Max Kellermann <max@duempel.org> | 2009-01-03 13:19:01 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-03 13:19:01 +0100 |
commit | 48aace185958f9a6363a8ac389924fcf73acb8a7 (patch) | |
tree | 13c4ac8dd1031457339ebe287dc43ccc35e2151f /src/main.c | |
parent | 96814397ad6a43780171d06c7df187da9afd86da (diff) | |
download | mpd-48aace185958f9a6363a8ac389924fcf73acb8a7.tar.gz mpd-48aace185958f9a6363a8ac389924fcf73acb8a7.tar.xz mpd-48aace185958f9a6363a8ac389924fcf73acb8a7.zip |
event_pipe: moved variable "main_task" to main.c
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 <locale.h> #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); |