summaryrefslogtreecommitdiff
path: root/vala/valalockable.vala
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2007-09-01 19:07:10 +0000
committerJürg Billeter <juergbi@src.gnome.org>2007-09-01 19:07:10 +0000
commit8f52fd592dd4985b21af6887ca0aac68a3ae4133 (patch)
treeca41e00f686e804e80cbd2fdb4a65a112f633491 /vala/valalockable.vala
parent46044c7e0658da27db42683ae45ae41cee25a07d (diff)
downloadvala-8f52fd592dd4985b21af6887ca0aac68a3ae4133.tar.gz
fix implicit casts to support non-GObject classes, enable run-time checks
2007-09-01 Juerg Billeter <j@bitron.ch> * vala/valalockable.vala, gobject/valacodegenerator.vala, gobject/valacodegeneratorassignment.vala, gobject/valacodegeneratorclass.vala, gobject/valacodegeneratorinvocationexpression.vala, gobject/valacodegeneratormemberaccess.vala, gobject/valacodegeneratormethod.vala, compiler/valacompiler.vala: fix implicit casts to support non-GObject classes, enable run-time checks by default, fixes bug 472446 svn path=/trunk/; revision=567
Diffstat (limited to 'vala/valalockable.vala')
-rw-r--r--vala/valalockable.vala7
1 files changed, 5 insertions, 2 deletions
diff --git a/vala/valalockable.vala b/vala/valalockable.vala
index 69bcae50f..078097277 100644
--- a/vala/valalockable.vala
+++ b/vala/valalockable.vala
@@ -1,6 +1,6 @@
/* valalockable.vala
*
- * Copyright (C) 2006 Raffaele Sandrini
+ * Copyright (C) 2006-2007 Raffaele Sandrini, Jürg Billeter
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -18,12 +18,15 @@
*
* Author:
* Raffaele Sandrini <rasa@gmx.ch>
+ * Jürg Billeter <j@bitron.ch>
*/
+using GLib;
+
/**
* Represents a lockable object.
*/
-public interface Vala.Lockable {
+public interface Vala.Lockable : Object {
/**
* Indicates a specific lockable object beeing actually locked somewhere.
*/