Home | History | Annotate | Download | only in tests

Lines Matching refs:loop

58 static void notify_load_status_unreachable_cb(WebKitWebView* view, GParamSpec* pspec, GMainLoop* loop)
73 g_main_loop_quit(loop);
76 static void notify_load_status_cb(WebKitWebView* view, GParamSpec* pspec, GMainLoop* loop)
107 g_main_loop_quit(loop);
110 static gboolean wait_timer_fired(GMainLoop* loop)
113 g_main_loop_quit(loop);
121 GMainLoop* loop;
125 loop = g_main_loop_new(NULL, TRUE);
126 g_signal_connect(view, "notify::load-status", G_CALLBACK(notify_load_status_cb), loop);
129 waitTimer = g_timeout_add_seconds(defaultTimeout, (GSourceFunc)wait_timer_fired, loop);
131 g_main_loop_run(loop);
138 g_main_loop_unref(loop);
142 static void notify_load_status_lifetime_cb(WebKitWebView* view, GParamSpec* pspec, GMainLoop* loop)
154 g_main_loop_quit(loop);
160 GMainLoop* loop;
164 loop = g_main_loop_new(NULL, TRUE);
165 g_signal_connect(view, "notify::load-status", G_CALLBACK(notify_load_status_lifetime_cb), loop);
168 waitTimer = g_timeout_add_seconds(defaultTimeout, (GSourceFunc)wait_timer_fired, loop);
170 g_main_loop_run(loop);
196 g_main_loop_unref(loop);
206 GMainLoop* loop;
210 loop = g_main_loop_new(NULL, TRUE);
211 g_signal_connect(view, "notify::load-status", G_CALLBACK(notify_load_status_unreachable_cb), loop);
214 waitTimer = g_timeout_add_seconds(defaultTimeout, (GSourceFunc)wait_timer_fired, loop);
216 g_main_loop_run(loop);
223 g_main_loop_unref(loop);