diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-glib-proxy-client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-glib-proxy-client.c b/tests/test-glib-proxy-client.c index 4a24172..fc3eac6 100644 --- a/tests/test-glib-proxy-client.c +++ b/tests/test-glib-proxy-client.c @@ -26,7 +26,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>. #include "test-glib-proxy.h" -static guint layouton = -1; +static guint layouton = -2; static GMainLoop * mainloop = NULL; static gboolean passed = TRUE; static guint death_timer = 0; @@ -119,7 +119,7 @@ layout_updated (DbusmenuClient * client, gpointer data) return; } layouton++; - if (layouton != 0) { + if (layouton != -1) { g_timeout_add (1500, layout_verify_timer, client); } else { DbusmenuMenuitem * mi = dbusmenu_client_get_root(client); |