]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
codegen: Always assume external interface properties are gobject properties
authorLuca Bruno <lucabru@src.gnome.org>
Sat, 25 Jan 2014 20:08:05 +0000 (21:08 +0100)
committerLuca Bruno <lucabru@src.gnome.org>
Sat, 25 Jan 2014 20:08:12 +0000 (21:08 +0100)
codegen/valagobjectmodule.vala

index fcc51e6f02292bb1b062694142f88f4595e6d155..ac8b8d3a31a597cbfd0580ef8b6c047e502a49f6 100644 (file)
@@ -730,8 +730,9 @@ public class Vala.GObjectModule : GTypeModule {
                        return false;
                }
 
-               if (type_sym is Interface && !prop.is_abstract) {
-                       // GObject does not support non-abstract interface properties
+               if (type_sym is Interface && !prop.is_abstract && !prop.external && !prop.external_package) {
+                       // GObject does not support non-abstract interface properties,
+                       // however we assume external properties always are GObject properties
                        return false;
                }