[dconf-editor] Don't duplicate code.
- From: Arnaud Bonatti <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf-editor] Don't duplicate code.
- Date: Mon, 21 Sep 2015 10:12:18 +0000 (UTC)
commit defc7408ead21a498a204eac4dde84c58beace82
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Mon Sep 21 12:11:57 2015 +0200
Don't duplicate code.
editor/dconf-model.vala | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/editor/dconf-model.vala b/editor/dconf-model.vala
index 91f375b..062f392 100644
--- a/editor/dconf-model.vala
+++ b/editor/dconf-model.vala
@@ -137,15 +137,7 @@ public class Key : GLib.Object
if (!has_schema)
return;
- _value = null;
- try
- {
- model.client.write_sync(full_name, null);
- }
- catch (GLib.Error e)
- {
- }
- value_changed();
+ value = null;
}
private void update_value()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]