[gnome-maps] MapMarker: implement surface property
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] MapMarker: implement surface property
- Date: Sat, 16 Jan 2016 19:08:12 +0000 (UTC)
commit d13d1edb1f01a0c12fcde92692989abfe2f7e8db
Author: Hashem Nasarat <hashem riseup net>
Date: Thu Jan 14 18:39:00 2016 -0500
MapMarker: implement surface property
625b5458 implemented the ChamplainExportable interface but didn't add
the property to the class, which caused the following message at
runtime:
GLib-GObject-CRITICAL **: Object class Gjs_MapMarker doesn't implement
property 'surface' from interface 'ChamplainExportable'
https://bugzilla.gnome.org/show_bug.cgi?id=760647
src/mapMarker.js | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/mapMarker.js b/src/mapMarker.js
index 81fe37e..ce70716 100644
--- a/src/mapMarker.js
+++ b/src/mapMarker.js
@@ -39,6 +39,10 @@ const MapMarker = new Lang.Class({
Signals: {
'gone-to': { }
},
+ Properties: {
+ 'surface': GObject.ParamSpec.override('surface',
+ Champlain.Exportable)
+ },
_init: function(params) {
this._place = params.place;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]