Index: configure.in
===================================================================
--- configure.in	(révision 819)
+++ configure.in	(copie de travail)
@@ -48,7 +48,7 @@
 
 used_monitor_backend=
 if test "x$with_monitor_backend" = "xgio" -o "x$with_monitor_backend" = "xauto"; then
-  PKG_CHECK_MODULES(GIO, gio-2.0 >= 0.1, have_gio=yes, have_gio=no)
+  PKG_CHECK_MODULES(GIO, gio-2.0 >= 2.15.1, have_gio=yes, have_gio=no)
 	
   if test "x$with_monitor_backend" = "gio" -a "x$have_gio" = "xno"; then
     AC_MSG_ERROR([No GIO found -- cannot enable GIO support])
Index: libmenu/menu-monitor-gio.c
===================================================================
--- libmenu/menu-monitor-gio.c	(révision 819)
+++ libmenu/menu-monitor-gio.c	(copie de travail)
@@ -70,6 +70,7 @@
 {
   GObject *backend = NULL;
   GFile *file;
+  GFileMonitor *fmonitor;
 
   file = g_file_new_for_path (menu_monitor_get_path (monitor));
 
@@ -80,22 +81,12 @@
                     menu_monitor_get_path (monitor));
       return;
     }
+  
+  fmonitor = g_file_monitor_file (file, G_FILE_MONITOR_NONE, NULL);
+  
+  if (fmonitor)
+    backend = G_OBJECT (fmonitor);
 
-  if (menu_monitor_get_is_directory (monitor))
-    {
-      GDirectoryMonitor *dmonitor = g_file_monitor_directory (file, G_FILE_MONITOR_NONE, NULL);
-
-      if (dmonitor)
-        backend = G_OBJECT (dmonitor);
-    }
-  else
-    {
-      GFileMonitor *fmonitor = g_file_monitor_file (file, G_FILE_MONITOR_NONE, NULL);
-
-      if (fmonitor)
-        backend = G_OBJECT (fmonitor);
-    }
-
   g_object_unref (G_OBJECT (file));
 
   if (backend == NULL)
@@ -118,10 +109,7 @@
 
   if ((backend = G_OBJECT (menu_monitor_get_backend_data (monitor))) != NULL)
     {
-      if (G_IS_FILE_MONITOR (backend)) 
-        g_file_monitor_cancel (G_FILE_MONITOR (backend));
-      else
-        g_directory_monitor_cancel (G_DIRECTORY_MONITOR (backend));
+      g_file_monitor_cancel (G_FILE_MONITOR (backend));
       
       g_object_unref (backend);
     }
