aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-03 13:19:01 +0100
committerMax Kellermann <max@duempel.org>2009-01-03 13:19:01 +0100
commit48aace185958f9a6363a8ac389924fcf73acb8a7 (patch)
tree13c4ac8dd1031457339ebe287dc43ccc35e2151f /src/main.c
parent96814397ad6a43780171d06c7df187da9afd86da (diff)
downloadmpd-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.c2
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);