summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSeif Lotfy <seif@lotfy.com>2012-09-05 17:40:34 +0200
committerSeif Lotfy <seif@lotfy.com>2012-09-05 17:40:34 +0200
commit505c0573077a24ef79cc1c165747f4e2409ea4a2 (patch)
treeefa211fe7823cf4edd2cbfb3a3b662d405f82529 /examples
parentc2e7099d114c51320fab0059eb73d3e3430b8d8f (diff)
downloadzeitgeist-505c0573077a24ef79cc1c165747f4e2409ea4a2.tar.gz
Fixed example and small rename in zeitgeist-daemon
Diffstat (limited to 'examples')
-rw-r--r--examples/get-events-with-id.vala6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/get-events-with-id.vala b/examples/get-events-with-id.vala
index 75a08334..611933c9 100644
--- a/examples/get-events-with-id.vala
+++ b/examples/get-events-with-id.vala
@@ -1,8 +1,10 @@
int main ()
{
var ids = new Array<uint32>();
- ids.append_val(210);
- ids.append_val(222);
+ uint32 id1 = 210;
+ uint32 id2 = 222;
+ ids.append_val(id1);
+ ids.append_val(id2);
var loop = new MainLoop();