aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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);