summaryrefslogtreecommitdiff
path: root/src/gclue-modem-gps.c
diff options
context:
space:
mode:
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>2014-06-21 17:17:24 +0100
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>2014-06-21 17:17:24 +0100
commitc84a0972058de25e2a4eb987458f31317bcf47a6 (patch)
tree4dd0ac4ce348a5b5df42eb59ac22d852e85b96c6 /src/gclue-modem-gps.c
parentb3102efe8144f4608372dd9246f39b91c24bf3bd (diff)
Split-out ModemManager code
GClueModem is not an interface and the new GClueModemManager class now implements this interface using ModemManager. This is pretty useless on its own right now but its intended to make it easy to add alternative Modem source(s), e.g ofono-based.
Diffstat (limited to 'src/gclue-modem-gps.c')
-rw-r--r--src/gclue-modem-gps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gclue-modem-gps.c b/src/gclue-modem-gps.c
index c788965..7f1338f 100644
--- a/src/gclue-modem-gps.c
+++ b/src/gclue-modem-gps.c
@@ -23,7 +23,7 @@
#include <glib.h>
#include <string.h>
#include "gclue-modem-gps.h"
-#include "gclue-modem.h"
+#include "gclue-modem-manager.h"
#include "geocode-glib/geocode-location.h"
/**
@@ -146,7 +146,7 @@ gclue_modem_gps_init (GClueModemGPS *source)
priv->cancellable = g_cancellable_new ();
- priv->modem = gclue_modem_get_singleton ();
+ priv->modem = gclue_modem_manager_get_singleton ();
priv->gps_notify_id =
g_signal_connect (priv->modem,
"notify::is-gps-available",