[glib/new-gsettings] Monitor the memory backend keyfile with G_FILE_MONITOR_SEND_MOVED
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/new-gsettings] Monitor the memory backend keyfile with G_FILE_MONITOR_SEND_MOVED
- Date: Thu, 15 Apr 2010 01:27:03 +0000 (UTC)
commit 9d22ef333bc82a4beff52cc6bc9e3b09eed5146a
Author: Vincent Untz <vuntz gnome org>
Date: Wed Apr 14 21:26:01 2010 -0400
Monitor the memory backend keyfile with G_FILE_MONITOR_SEND_MOVED
gio/gmemorysettingsbackend.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gio/gmemorysettingsbackend.c b/gio/gmemorysettingsbackend.c
index 26a7a47..49ce6aa 100644
--- a/gio/gmemorysettingsbackend.c
+++ b/gio/gmemorysettingsbackend.c
@@ -325,7 +325,7 @@ g_memory_settings_backend_constructed (GObject *object)
memory->priv->keyfile_path = path;
file = g_file_new_for_path (memory->priv->keyfile_path);
- memory->priv->keyfile_monitor = g_file_monitor_file (file, G_FILE_MONITOR_NONE, NULL, NULL);
+ memory->priv->keyfile_monitor = g_file_monitor_file (file, G_FILE_MONITOR_SEND_MOVED, NULL, NULL);
g_signal_connect (memory->priv->keyfile_monitor, "changed",
(GCallback)g_memory_settings_backend_keyfile_changed, memory);
g_object_unref (file);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]