aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-19 15:17:38 -0600
committerTed Gould <ted@gould.cx>2010-02-19 15:17:38 -0600
commitaceec4edeaaca20cebfe894a51e4ce681fa5fa95 (patch)
tree4bfc4701c220ce89bc1b63c1c7eca4313f50de6c
parent5e7f04b944d0fd52b38697a6bfdf7df0e61aa83a (diff)
downloadlibdbusmenu-aceec4edeaaca20cebfe894a51e4ce681fa5fa95.tar.gz
libdbusmenu-aceec4edeaaca20cebfe894a51e4ce681fa5fa95.tar.bz2
libdbusmenu-aceec4edeaaca20cebfe894a51e4ce681fa5fa95.zip
Don't need to send a signal at start
-rw-r--r--tests/test-glib-proxy-client.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/test-glib-proxy-client.c b/tests/test-glib-proxy-client.c
index 5cdd7a1..cb26163 100644
--- a/tests/test-glib-proxy-client.c
+++ b/tests/test-glib-proxy-client.c
@@ -122,13 +122,8 @@ layout_updated (DbusmenuClient * client, gpointer data)
if (verify_timer != 0) {
g_source_remove(verify_timer);
}
- verify_timer = g_timeout_add (2500, layout_verify_timer, client);
- DbusmenuMenuitem * mi = dbusmenu_client_get_root(client);
- GValue value = {0};
- g_value_init(&value, G_TYPE_INT);
- g_value_set_int(&value, 0);
- dbusmenu_menuitem_handle_event(mi, "clicked", &value, layouton);
+ verify_timer = g_timeout_add (2500, layout_verify_timer, client);
return;
}