[vala/0.48] libvaladoc: Correctly retrieve value for Api.Class.is_compact
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.48] libvaladoc: Correctly retrieve value for Api.Class.is_compact
- Date: Sun, 28 Feb 2021 17:26:24 +0000 (UTC)
commit b0eb72e682e99b88893b80c469c7f0f5caea48f2
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue Jan 19 21:56:50 2021 +0100
libvaladoc: Correctly retrieve value for Api.Class.is_compact
libvaladoc/api/class.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libvaladoc/api/class.vala b/libvaladoc/api/class.vala
index 0dd8433c8..83af272a4 100644
--- a/libvaladoc/api/class.vala
+++ b/libvaladoc/api/class.vala
@@ -277,7 +277,7 @@ public class Valadoc.Api.Class : TypeSymbol {
public bool is_compact {
get {
- return base_type == null && get_attribute ("Compact") != null;
+ return ((Vala.Class) data).is_compact;
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]