[dconf] emit proper sequence number and signal on Unset



commit a230736118eb86f2fb7213c396e54a8b591fa1dc
Author: Ryan Lortie <desrt desrt ca>
Date:   Wed Oct 7 15:48:21 2009 -0400

    emit proper sequence number and signal on Unset

 writer/dconf-dbus-writer.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/writer/dconf-dbus-writer.c b/writer/dconf-dbus-writer.c
index c029266..54d62cc 100644
--- a/writer/dconf-dbus-writer.c
+++ b/writer/dconf-dbus-writer.c
@@ -362,6 +362,10 @@ dconf_dbus_writer_handle_message (DConfDBusWriter *writer)
       if ((status = dconf_writer_check_unset (key, &error)))
         status = dconf_writer_unset (writer->writer, key, &error);
 
+      if (status == TRUE)
+        dconf_dbus_writer_notify (writer, key, NULL,
+                                  sequence = writer->sequence++);
+
       return dconf_dbus_writer_reply (writer, status, &sequence, error);
     }
 



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