[gnome-weather] Use the new names for fundamental GObject types
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-weather] Use the new names for fundamental GObject types
- Date: Sun, 2 Mar 2014 14:56:54 +0000 (UTC)
commit 49b954f2413513e8cc6be1075ba23bd092ffb96b
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Sun Jan 19 15:06:44 2014 +0100
Use the new names for fundamental GObject types
Much nicer to use the fake classes in GObject.
src/world.js | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/world.js b/src/world.js
index 589df98..fc935d1 100644
--- a/src/world.js
+++ b/src/world.js
@@ -40,14 +40,14 @@ const Columns = {
INFO: Gd.MainColumns.LAST+1
};
const ColumnTypes = {
- ID: GObject.TYPE_STRING,
- URI: GObject.TYPE_STRING,
- PRIMARY_TEXT: GObject.TYPE_STRING,
- SECONDARY_TEXT: GObject.TYPE_STRING,
+ ID: String,
+ URI: String,
+ PRIMARY_TEXT: String,
+ SECONDARY_TEXT: String,
ICON: GdkPixbuf.Pixbuf,
- MTIME: GObject.TYPE_INT,
- SELECTED: GObject.TYPE_BOOLEAN,
- PULSE: GObject.TYPE_UINT,
+ MTIME: GObject.Int,
+ SELECTED: Boolean,
+ PULSE: GObject.UInt,
LOCATION: GWeather.Location,
INFO: GWeather.Info
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]