projects
/
moonshot-ui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Work around a bug in vala 0.10 compiler
[moonshot-ui.git]
/
src
/
moonshot-window.vala
diff --git
a/src/moonshot-window.vala
b/src/moonshot-window.vala
index
a8d04be
..
b565b43
100644
(file)
--- a/
src/moonshot-window.vala
+++ b/
src/moonshot-window.vala
@@
-340,7
+340,11
@@
class MainWindow : Window
public void set_callback (owned SourceFunc callback)
{
+#if VALA_0_12
this.callback = (owned) callback;
+#else
+ this.callback = () => callback ();
+#endif
}
public void send_identity_cb (IdCardWidget id_card_widget)