~ubuntu-geoip-team/ubuntu-geoip/trunk

« back to all changes in this revision

Viewing changes to src/ubuntu-geoip-provider.c

  • Committer: Tarmac
  • Author(s): Ted Gould
  • Date: 2013-03-13 11:30:28 UTC
  • mfrom: (31.3.4 gnome-features)
  • Revision ID: tarmac-20130313113028-5mjocrgvyto7683m
Add the gnome feature for proxy configuration support. Fixes: https://bugs.launchpad.net/bugs/1130097.

Approved by Charles Kerr, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
#include <geoclue/gc-iface-address.h>
35
35
 
36
36
/* Soup */
37
 
#include <libsoup/soup.h>
 
37
#include <libsoup/soup-gnome.h>
38
38
 
39
39
/* Network Manager */
40
40
#include <nm-client.h>
252
252
        /* Allocate */
253
253
        if (test_data == NULL) {
254
254
                self->priv->soup = soup_session_async_new();
 
255
                soup_session_add_feature_by_type(self->priv->soup, soup_proxy_resolver_gnome_get_type());
255
256
                self->priv->client = nm_client_new();
256
257
                g_signal_connect(G_OBJECT(self->priv->client), "notify::" NM_CLIENT_STATE, G_CALLBACK(nm_state_change), self);
257
258