Home | History | Annotate | Download | only in tests

Lines Matching full:loop

58 static void notify_load_status_unreachable_cb(WebKitWebView* view, GParamSpec* pspec, GMainLoop* loop)
76 g_main_loop_quit(loop);
79 static void notify_load_status_cb(WebKitWebView* view, GParamSpec* pspec, GMainLoop* loop)
115 g_main_loop_quit(loop);
118 static gboolean wait_timer_fired(GMainLoop* loop)
121 g_main_loop_quit(loop);
129 GMainLoop* loop;
133 loop = g_main_loop_new(NULL, TRUE);
134 g_signal_connect(view, "notify::load-status", G_CALLBACK(notify_load_status_cb), loop);
138 waitTimer = g_timeout_add_seconds(defaultTimeout, (GSourceFunc)wait_timer_fired, loop);
140 g_main_loop_run(loop);
147 GMainLoop* loop;
151 loop = g_main_loop_new(NULL, TRUE);
152 g_signal_connect(view, "notify::load-status", G_CALLBACK(notify_load_status_unreachable_cb), loop);
156 waitTimer = g_timeout_add_seconds(defaultTimeout, (GSourceFunc)wait_timer_fired, loop);
158 g_main_loop_run(loop);