mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-03 16:03:40 +02:00
Move event support in the inotify backend
This adds support for G_FILE_MONITOR_SEND_MOVED events when requested by the user to the inotify backend. Last part to fix bug #547890. Based heavily on a patch by Martyn Russel <martyn@lanedo.com>.
This commit is contained in:
@@ -30,9 +30,10 @@ typedef struct
|
||||
gchar* filename;
|
||||
gboolean cancelled;
|
||||
gpointer user_data;
|
||||
gboolean pair_moves;
|
||||
} inotify_sub;
|
||||
|
||||
inotify_sub* _ih_sub_new (const gchar* dirname, const gchar* filename, gpointer user_data);
|
||||
inotify_sub* _ih_sub_new (const gchar* dirname, const gchar* filename, gboolean pair_moves, gpointer user_data);
|
||||
void _ih_sub_free (inotify_sub* sub);
|
||||
|
||||
#endif /* __INOTIFY_SUB_H */
|
||||
|
Reference in New Issue
Block a user