summaryrefslogtreecommitdiff
path: root/src/eventqueue.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eventqueue.c')
-rw-r--r--src/eventqueue.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eventqueue.c b/src/eventqueue.c
index 243b12ee..1d2576f0 100644
--- a/src/eventqueue.c
+++ b/src/eventqueue.c
@@ -71,7 +71,8 @@ meta_event_queue_new (Display *display, MetaEventQueueFunc func, gpointer data)
g_source_set_callback (source, (GSourceFunc) func, data, NULL);
g_source_attach (source, NULL);
-
+ g_source_unref (source);
+
return eq;
}