Commit 4a4bc54f authored by Zeeshan Ali's avatar Zeeshan Ali

modem-gps: Use Modem class

Instead of deriving from GClueModemSource class, GClueModemGPS now just
uses GClueModem singleton to talk to ModemManager.

Refer to 9231e644 ("Add GClueModem class") for rationale.
parent 78046b9a
This diff is collapsed.
......@@ -24,7 +24,7 @@
#include <glib.h>
#include <gio/gio.h>
#include "gclue-modem-source.h"
#include "gclue-location-source.h"
G_BEGIN_DECLS
......@@ -48,7 +48,7 @@ typedef struct _GClueModemGPSPrivate GClueModemGPSPrivate;
struct _GClueModemGPS {
/* <private> */
GClueModemSource parent_instance;
GClueLocationSource parent_instance;
GClueModemGPSPrivate *priv;
};
......@@ -59,7 +59,7 @@ struct _GClueModemGPS {
**/
struct _GClueModemGPSClass {
/* <private> */
GClueModemSourceClass parent_class;
GClueLocationSourceClass parent_class;
};
GClueModemGPS * gclue_modem_gps_get_singleton (void);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment