aboutsummaryrefslogtreecommitdiffstats
path: root/fsotdld
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2011-02-23 19:42:22 +0100
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2011-02-23 19:42:22 +0100
commit8e66f7e5cecfb4bd6b655645770a2b87e12cd607 (patch)
tree5d44930c0456a7d6c7c0ccba3df5b238b53dc127 /fsotdld
parent3c1c51759897514fb918b852464b3551643eb904 (diff)
downloadcornucopia-8e66f7e5cecfb4bd6b655645770a2b87e12cd607.tar.gz
cornucopia-8e66f7e5cecfb4bd6b655645770a2b87e12cd607.tar.bz2
cornucopia-8e66f7e5cecfb4bd6b655645770a2b87e12cd607.zip
fsotdld: fix dbus-glib -> gdbus conversion oversight
Diffstat (limited to 'fsotdld')
-rw-r--r--fsotdld/src/lib/locationprovider.vala4
-rw-r--r--fsotdld/src/plugins/source_gsm/plugin.vala6
2 files changed, 5 insertions, 5 deletions
diff --git a/fsotdld/src/lib/locationprovider.vala b/fsotdld/src/lib/locationprovider.vala
index edb16748..41594cb1 100644
--- a/fsotdld/src/lib/locationprovider.vala
+++ b/fsotdld/src/lib/locationprovider.vala
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2009-2010 Michael 'Mickey' Lauer <mlauer@vanille-media.de>
+ * Copyright (C) 2009-2011 Michael 'Mickey' Lauer <mlauer@vanille-media.de>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -22,7 +22,7 @@ using GLib;
public interface FsoTdl.ILocationProvider : FsoFramework.AbstractObject
{
- public signal void location( FsoTdl.ILocationProvider provider, HashTable<string,Value?> location );
+ public signal void location( FsoTdl.ILocationProvider provider, HashTable<string,GLib.Variant> location );
public abstract uint accuracy();
public abstract void start();
diff --git a/fsotdld/src/plugins/source_gsm/plugin.vala b/fsotdld/src/plugins/source_gsm/plugin.vala
index ff272b43..c856a61e 100644
--- a/fsotdld/src/plugins/source_gsm/plugin.vala
+++ b/fsotdld/src/plugins/source_gsm/plugin.vala
@@ -57,7 +57,7 @@ class Source.Gsm : FsoTime.AbstractSource
private void testing()
{
- var status = new GLib.HashTable<string,GLib.Value?>( GLib.str_hash, GLib.str_equal );
+ var status = new GLib.HashTable<string,GLib.Variant>( GLib.str_hash, GLib.str_equal );
//status.insert( "code", "310038" );
status.insert( "code", "26203" );
onGsmNetworkStatusSignal( status );
@@ -112,11 +112,11 @@ class Source.Gsm : FsoTime.AbstractSource
triggerQueryAsync();
}
- private async void onGsmNetworkStatusSignal( GLib.HashTable<string,GLib.Value?> status )
+ private async void onGsmNetworkStatusSignal( GLib.HashTable<string,GLib.Variant> status )
{
logger.info( "Received GSM network status signal" );
- var codev = status.lookup( "code" );
+ Variant? codev = status.lookup( "code" );
if ( codev == null )
{
logger.info( "No provider code contained, ignoring." );