[gnome-maps] Convert ParamFlags.READWRITE to READABLE|WRITABLE
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] Convert ParamFlags.READWRITE to READABLE|WRITABLE
- Date: Sun, 14 Sep 2014 13:41:17 +0000 (UTC)
commit 6e6fae9d9e114fa1a1e3a07382c78b1693d52713
Author: Jonas Danielsson <jonas threetimestwo org>
Date: Sun Sep 14 15:40:20 2014 +0200
Convert ParamFlags.READWRITE to READABLE|WRITABLE
src/mapView.js | 3 ++-
src/placeEntry.js | 3 ++-
src/routeQuery.js | 9 ++++++---
3 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/src/mapView.js b/src/mapView.js
index 1396767..f87c438 100644
--- a/src/mapView.js
+++ b/src/mapView.js
@@ -59,7 +59,8 @@ const MapView = new Lang.Class({
'routeVisible': GObject.ParamSpec.boolean('routeVisible',
'Route visible',
'Visibility of route layers',
- GObject.ParamFlags.READWRITE,
+ GObject.ParamFlags.READABLE |
+ GObject.ParamFlags.WRITABLE,
false)
},
diff --git a/src/placeEntry.js b/src/placeEntry.js
index 698fed7..37f3b00 100644
--- a/src/placeEntry.js
+++ b/src/placeEntry.js
@@ -46,7 +46,8 @@ const PlaceEntry = new Lang.Class({
'place': GObject.ParamSpec.object('place',
'Place',
'The selected place',
- GObject.ParamFlags.READWRITE,
+ GObject.ParamFlags.READABLE |
+ GObject.ParamFlags.WRITABLE,
Geocode.Place)
},
diff --git a/src/routeQuery.js b/src/routeQuery.js
index f2753a4..4ddc111 100644
--- a/src/routeQuery.js
+++ b/src/routeQuery.js
@@ -52,12 +52,14 @@ const RouteQuery = new Lang.Class({
'points': GObject.ParamSpec.object('points',
'',
'',
- GObject.ParamFlags.READWRITE,
+ GObject.ParamFlags.READABLE |
+ GObject.ParamFlags.WRITABLE,
GObject.Object),
'transportation': GObject.ParamSpec.int('transportation',
'',
'',
- GObject.ParamFlags.READWRITE,
+ GObject.ParamFlags.READABLE |
+ GObject.ParamFlags.WRITABLE,
Transportation.CAR,
Transportation.PEDESTRIAN,
Transportation.CAR)
@@ -132,7 +134,8 @@ const QueryPoint = new Lang.Class({
'place': GObject.ParamSpec.object('place',
'',
'',
- GObject.ParamFlags.READWRITE,
+ GObject.ParamFlags.READABLE |
+ GObject.ParamFlags.WRITABLE,
Geocode.Place),
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]