[glib/wip/gapplication] Don't spew a g_warning if inotify setup fails



commit a02519852ad594312f5dc87b41501d4783762237
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]