[vala] vala: Make MarkupReader a simple class *not* derived from GLib.Object
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] vala: Make MarkupReader a simple class *not* derived from GLib.Object
- Date: Tue, 14 Mar 2017 13:12:26 +0000 (UTC)
commit 636bb981a79794ebb66dcd6f03ced5d273752194
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Tue Mar 14 13:55:47 2017 +0100
vala: Make MarkupReader a simple class *not* derived from GLib.Object
MarkupReader contains 3 properties which emit a g_object_notify() on every
set which is not wanted and generates useless overhead.
vala/valamarkupreader.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valamarkupreader.vala b/vala/valamarkupreader.vala
index 556853d..2ecca0c 100644
--- a/vala/valamarkupreader.vala
+++ b/vala/valamarkupreader.vala
@@ -25,7 +25,7 @@ using GLib;
/**
* Simple reader for a subset of XML.
*/
-public class Vala.MarkupReader : Object {
+public class Vala.MarkupReader {
public string filename { get; private set; }
public string name { get; private set; }
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]