[glib] Fix distcheck
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fix distcheck
- Date: Tue, 23 Jun 2015 11:16:10 +0000 (UTC)
commit 4e7d22e268a4e06beb1c09585a48288c31004da5
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Jun 23 06:55:28 2015 -0400
Fix distcheck
The appmonitor test was sometimes leaving files behind, causing
distcheck some heartburn.
gio/tests/appmonitor.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/gio/tests/appmonitor.c b/gio/tests/appmonitor.c
index 425a600..96b9ac6 100644
--- a/gio/tests/appmonitor.c
+++ b/gio/tests/appmonitor.c
@@ -86,7 +86,6 @@ test_app_monitor (void)
/* FIXME: this shouldn't be required */
g_list_free_full (g_app_info_get_all (), g_object_unref);
- g_idle_add (delete_app, path);
g_timeout_add_seconds (3, quit_loop, loop);
g_main_loop_run (loop);
@@ -95,6 +94,9 @@ test_app_monitor (void)
g_main_loop_unref (loop);
g_object_unref (monitor);
+
+ delete_app (path);
+
g_free (path);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]