[vala] Chain up to g_object_new where possible
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] Chain up to g_object_new where possible
- Date: Thu, 3 Sep 2009 09:29:50 +0000 (UTC)
commit 95950ce2e85b6ff0dca53c422c6abe8c708182b1
Author: Jürg Billeter <j bitron ch>
Date: Thu Sep 3 11:21:25 2009 +0200
Chain up to g_object_new where possible
Fixes bug 593159.
vala/valacreationmethod.vala | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/vala/valacreationmethod.vala b/vala/valacreationmethod.vala
index e4785ff..3051e52 100644
--- a/vala/valacreationmethod.vala
+++ b/vala/valacreationmethod.vala
@@ -179,8 +179,6 @@ public class Vala.CreationMethod : Method {
if (cl.base_class.default_construction_method != null
&& !cl.base_class.default_construction_method.has_construct_function) {
// chain up impossible
- } else if (analyzer.context.profile == Profile.GOBJECT && cl.base_class == analyzer.object_type) {
- // no chain up necessary for direct GObject subclasses
} else if (analyzer.context.profile == Profile.GOBJECT
&& cl.is_subtype_of (analyzer.object_type)
&& (n_construction_params > 0 || cl.constructor != null)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]