[glib] Don't spew a g_warning if inotify setup fails
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Don't spew a g_warning if inotify setup fails
- Date: Thu, 3 Jun 2010 15:44:22 +0000 (UTC)
commit e608b1f067c76db196a63723b50167a00ab39921
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jun 3 11:40:02 2010 -0400
Don't spew a g_warning if inotify setup fails
We use is_supported when we are trying to find a local file monitor
implementation that works, and having the g_warning in there trips
the test suite.
gio/inotify/inotify-helper.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gio/inotify/inotify-helper.c b/gio/inotify/inotify-helper.c
index 5572f0d..9ccee1c 100644
--- a/gio/inotify/inotify-helper.c
+++ b/gio/inotify/inotify-helper.c
@@ -86,7 +86,6 @@ _ih_startup (void)
result = _ip_startup (ih_event_callback);
if (!result)
{
- g_warning ("Could not initialize inotify\n");
G_UNLOCK (inotify_lock);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]