diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-libappindicator-status-client.c | 3 | ||||
-rw-r--r-- | tests/test-libappindicator-status-server.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/test-libappindicator-status-client.c b/tests/test-libappindicator-status-client.c index e016c81..2e02b8e 100644 --- a/tests/test-libappindicator-status-client.c +++ b/tests/test-libappindicator-status-client.c @@ -83,6 +83,7 @@ kill_func (gpointer userdata) if (watchdog_hit == FALSE) { g_main_loop_quit(mainloop); g_warning("Forced to Kill"); + g_warning("Toggle count: %d", toggle_count); passed = FALSE; return FALSE; } @@ -106,7 +107,7 @@ main (gint argc, gchar * argv[]) dbus_bus_add_match(dbus_g_connection_get_connection(session_bus), "type='signal',interface='" NOTIFICATION_ITEM_DBUS_IFACE "',member='NewStatus'", NULL); watchdog_hit = TRUE; - g_timeout_add(100, kill_func, NULL); + g_timeout_add(250, kill_func, NULL); mainloop = g_main_loop_new(NULL, FALSE); g_main_loop_run(mainloop); diff --git a/tests/test-libappindicator-status-server.c b/tests/test-libappindicator-status-server.c index f2984cd..75b430e 100644 --- a/tests/test-libappindicator-status-server.c +++ b/tests/test-libappindicator-status-server.c @@ -61,7 +61,7 @@ main (gint argc, gchar * argv[]) AppIndicator * ci = app_indicator_new ("my-id", "my-icon-name", APP_INDICATOR_CATEGORY_APPLICATION_STATUS); app_indicator_set_attention_icon (ci, "my-attention-icon"); - g_idle_add(toggle, ci); + g_timeout_add(50, toggle, ci); mainloop = g_main_loop_new(NULL, FALSE); g_main_loop_run(mainloop); |