event_pipe: moved variable "main_task" to main.c

This commit is contained in:
Max Kellermann
2009-01-03 13:19:01 +01:00
parent 96814397ad
commit 48aace1859
5 changed files with 5 additions and 7 deletions

View File

@@ -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);