From baa7863da604f2193427e28da1ef384d84c5c04b Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Fri, 18 Jul 2014 04:01:25 +0200 Subject: [PATCH] composition: use g_main_context_set_dispatches_per_iteration () Let's hope this gets merged ... --- gnl/gnlcomposition.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gnl/gnlcomposition.c b/gnl/gnlcomposition.c index b3311d5d10..363ce572e5 100644 --- a/gnl/gnlcomposition.c +++ b/gnl/gnlcomposition.c @@ -745,6 +745,7 @@ gnl_composition_init (GnlComposition * comp) priv->objects_hash = g_hash_table_new (g_direct_hash, g_direct_equal); priv->mcontext = g_main_context_new (); + g_main_context_set_dispatches_per_iteration (priv->mcontext, 1); g_mutex_init (&priv->mcontext_lock); priv->pending_io = g_hash_table_new (g_direct_hash, g_direct_equal); -- 2.34.1