gio-standalone r311 - in trunk: gio gio/inotify programs



Author: alexl
Date: 2007-09-12 11:38:52 +0100 (Wed, 12 Sep 2007)
New Revision: 311
ViewCVS link: http://svn.gnome.org/viewcvs/gio-standalone?rev=311&view=rev

Added:
   trunk/gio/gdirectorymonitorpriv.h
   trunk/gio/gfilemonitorpriv.h
Modified:
   trunk/gio/gdirectorymonitor.c
   trunk/gio/gdirectorymonitor.h
   trunk/gio/gfilemonitor.c
   trunk/gio/gfilemonitor.h
   trunk/gio/glocaldirectorymonitor.c
   trunk/gio/glocaldirectorymonitor.h
   trunk/gio/glocalfilemonitor.c
   trunk/gio/glocalfilemonitor.h
   trunk/gio/gvfs-marshal.list
   trunk/gio/inotify/inotify-helper.c
   trunk/programs/gvfs-monitor-dir.c
   trunk/programs/gvfs-monitor-file.c
Log:
Switch GFileMonitor and GDirectoryMonitor from interfaces to baseclass.
This means we can share common code like cancel-at-unref and rate limiting.

Make all event signaling from the backends go through g_file_monitor_emit_event
so that we have a single place to implement things like rate limiting.

Add other_file argument to changed signal so that we can do move events.

Make GDirectoryMonitorEventFlags an enum, not a bitmask (it was used as an enum already).

Original git commit by Alexander Larsson <alex greebo (none)> at 1177926643 +0200





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]