Commit 0b742386 authored by Zeeshan Ali's avatar Zeeshan Ali

3g: Derive from WebSource

It always made sense for this class to derive from WebSource but it
wasn't possible before as it already derived from ModemSource class.
parent 26aa54cc
This diff is collapsed.
......@@ -24,7 +24,7 @@
#include <glib.h>
#include <gio/gio.h>
#include "gclue-location-source.h"
#include "gclue-web-source.h"
G_BEGIN_DECLS
......@@ -48,7 +48,7 @@ typedef struct _GClue3GPrivate GClue3GPrivate;
struct _GClue3G {
/* <private> */
GClueLocationSource parent_instance;
GClueWebSource parent_instance;
GClue3GPrivate *priv;
};
......@@ -59,7 +59,7 @@ struct _GClue3G {
**/
struct _GClue3GClass {
/* <private> */
GClueLocationSourceClass parent_class;
GClueWebSourceClass parent_class;
};
GClue3G * gclue_3g_get_singleton (void);
......
......@@ -88,7 +88,9 @@ query_callback (SoupSession *session,
&error);
g_free (contents);
if (error != NULL) {
g_warning ("Failed to query location: %s", error->message);
g_warning ("Failed to parse following response: %s\n%s",
error->message,
contents);
return;
}
......
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