*
*
*/
-public abstract class MonitorAbstract : Object
+
+public abstract class gitMonitorBase : Object
{
- public abstract void monitor(string path, int depth =0);
-}
-
+ public abstract void monitor(string path, int depth = 0);
+}
-public class Monitor : MonitorAbstract
+public class Monitor : gitMonitorBase
{
this.monitors.append_val(fm);
} catch (Error e) {
- GLib.debug("Error adding monitor: %s", e.message);
+ GLib.debug("Error adding monitor: %s\n", e.message);
+ GLib.debug("Try: \n\nsudo su\necho 512 > /proc/sys/fs/inotify/max_user_instances\n");
// FIXME -- show error? do nothing..
}
// print("ADD path " + depth + ' ' + path);