[gnome-maps] mapView: Don't use deprecated Clutter API
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] mapView: Don't use deprecated Clutter API
- Date: Fri, 19 Apr 2013 00:55:21 +0000 (UTC)
commit 99fe6f9bb20151f7a98468c08b1b911f166c262c
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Fri Apr 19 03:52:44 2013 +0300
mapView: Don't use deprecated Clutter API
Although Champlain.View.bin_layout_add() doesn't come from Clutter but
it forces us to use deprecated Clutter.BinAlignment enum.
This also fixes the issue of reveal button appearing in the opposite end
of the map against Champlain git master.
src/mapView.js | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/mapView.js b/src/mapView.js
index da13698..8ab43f7 100644
--- a/src/mapView.js
+++ b/src/mapView.js
@@ -62,9 +62,7 @@ const MapView = new Lang.Class({
this.view.connect('notify::longitude', Lang.bind(this, this._onViewMoved));
this._properties = new Properties.Properties(this);
- this.view.bin_layout_add(this._properties.actor,
- Clutter.BinAlignment.FILL,
- Clutter.BinAlignment.FILL);
+ this.view.add_child(this._properties.actor);
this._markerLayer = new Champlain.MarkerLayer();
this._markerLayer.set_selection_mode(Champlain.SelectionMode.SINGLE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]