Home | History | Annotate | Download | only in tests

Lines Matching defs:loop

48     GMainLoop* loop = g_main_loop_new(NULL, TRUE);
53 g_signal_connect(webView, "frame-created", G_CALLBACK(createFrameSignalTestFrameCreatedCallback), loop);
59 g_timeout_add(500, createFrameSignalTestTimeout, loop);
71 g_main_loop_run(loop);
121 static gboolean print_requested_cb(WebKitWebView* webView, WebKitWebFrame* webFrame, GMainLoop* loop)
124 g_main_loop_quit(loop);
128 static void print_timeout(GMainLoop* loop)
130 if (g_main_loop_is_running(loop))
131 g_main_loop_quit(loop);
148 GMainLoop* loop = g_main_loop_new(NULL, TRUE);
153 loop);
161 g_timeout_add(1000, (GSourceFunc)print_timeout, loop);
162 g_main_loop_run(loop);