Lines Matching refs:loop
41 static gboolean bail_out(GMainLoop* loop)
43 if (g_main_loop_is_running(loop))
44 g_main_loop_quit(loop);
210 GMainLoop* loop;
218 loop = g_main_loop_new(NULL, TRUE);
220 g_timeout_add(100, (GSourceFunc)bail_out, loop);
221 g_main_loop_run(loop);
241 GMainLoop* loop;
249 loop = g_main_loop_new(NULL, TRUE);
251 g_timeout_add(100, (GSourceFunc)bail_out, loop);
252 g_main_loop_run(loop);
272 GMainLoop* loop;
280 loop = g_main_loop_new(NULL, TRUE);
282 g_timeout_add(100, (GSourceFunc)bail_out, loop);
283 g_main_loop_run(loop);
303 GMainLoop* loop;
311 loop = g_main_loop_new(NULL, TRUE);
313 g_timeout_add(100, (GSourceFunc)bail_out, loop);
314 g_main_loop_run(loop);
336 GMainLoop* loop;
344 loop = g_main_loop_new(NULL, TRUE);
346 g_timeout_add(100, (GSourceFunc)bail_out, loop);
347 g_main_loop_run(loop);
371 GMainLoop* loop;
380 loop = g_main_loop_new(NULL, TRUE);
382 g_timeout_add(100, (GSourceFunc)bail_out, loop);
383 g_main_loop_run(loop);
415 GMainLoop* loop;
424 loop = g_main_loop_new(NULL, TRUE);
426 g_timeout_add(100, (GSourceFunc)bail_out, loop);
427 g_main_loop_run(loop);