fix critical when using interface properties
authorJuerg Billeter <j@bitron.ch>
Tue, 5 Feb 2008 20:07:32 +0000 (20:07 +0000)
committerJürg Billeter <juergbi@src.gnome.org>
Tue, 5 Feb 2008 20:07:32 +0000 (20:07 +0000)
2008-02-05  Juerg Billeter  <j@bitron.ch>

* gobject/valaccodegenerator.vala: fix critical when using interface
  properties

svn path=/trunk/; revision=978

ChangeLog
gobject/valaccodegenerator.vala

index a724a0c..ebb86db 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2008-02-05  Jürg Billeter  <j@bitron.ch>
 
+       * gobject/valaccodegenerator.vala: fix critical when using interface
+         properties
+
+2008-02-05  Jürg Billeter  <j@bitron.ch>
+
        * vala/parser.y, vala/valaexpression.vala,
          vala/valapropertyaccessor.vala, vala/valasemanticanalyzer.vala,
          gobject/valaccodegenerator.vala: add support for private property
index 98793ca..776dd0d 100644 (file)
@@ -3019,7 +3019,6 @@ public class Vala.CCodeGenerator : CodeGenerator {
        }
 
        public CCodeFunctionCall get_property_set_call (Property! prop, MemberAccess! ma, CCodeExpression! cexpr) {
-               var cl = (Class) prop.parent_symbol;
                var set_func = "g_object_set";
                
                var base_property = prop;