[dconf] Fix signature mismatch with GLib.TraverseFunc
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf] Fix signature mismatch with GLib.TraverseFunc
- Date: Thu, 12 Apr 2012 18:48:18 +0000 (UTC)
commit 281984c482327a1df1217bb1c8c36dcb1055d620
Author: Stef Walter <stefw gnome org>
Date: Thu Apr 12 11:02:28 2012 +0200
Fix signature mismatch with GLib.TraverseFunc
* Using vala 0.18
https://bugzilla.gnome.org/show_bug.cgi?id=673973
bin/dconf-dump.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/bin/dconf-dump.vala b/bin/dconf-dump.vala
index 4fb8c02..e340a6c 100644
--- a/bin/dconf-dump.vala
+++ b/bin/dconf-dump.vala
@@ -60,14 +60,14 @@ class DConfLoadState {
i = 0;
}
- public int add (void *key, void *value) {
+ public bool add (void *key, void *value) {
assert (i < n_keys);
keys[i] = (string) key;
vals[i] = (Variant) value;
i++;
- return (int) false;
+ return false;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]