~ubuntu-branches/ubuntu/saucy/glib2.0/saucy-proposed

« back to all changes in this revision

Viewing changes to gio/gproxyaddressenumerator.c

  • Committer: Package Import Robot
  • Author(s): Iain Lane
  • Date: 2013-06-25 12:43:56 UTC
  • mfrom: (1.63.22)
  • Revision ID: package-import@ubuntu.com-20130625124356-597xf4lpikauchiy
Tags: 2.37.3-1ubuntu1
* Resynchronise on unrelease Debian SVN (glib is in NEW there). Remaining
  change:
  - Build-Depend on python:any for cross building.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
#include "gsocketaddressenumerator.h"
40
40
#include "gsocketconnectable.h"
41
41
 
42
 
G_DEFINE_TYPE (GProxyAddressEnumerator, g_proxy_address_enumerator, G_TYPE_SOCKET_ADDRESS_ENUMERATOR);
43
 
 
44
42
#define GET_PRIVATE(o) (G_PROXY_ADDRESS_ENUMERATOR (o)->priv)
45
43
 
46
44
enum
77
75
  GError                   *last_error;
78
76
};
79
77
 
 
78
G_DEFINE_TYPE_WITH_PRIVATE (GProxyAddressEnumerator, g_proxy_address_enumerator, G_TYPE_SOCKET_ADDRESS_ENUMERATOR)
 
79
 
80
80
static void
81
81
save_userinfo (GProxyAddressEnumeratorPrivate *priv,
82
82
               const gchar *proxy)
697
697
static void
698
698
g_proxy_address_enumerator_init (GProxyAddressEnumerator *self)
699
699
{
700
 
  self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
701
 
                                            G_TYPE_PROXY_ADDRESS_ENUMERATOR,
702
 
                                            GProxyAddressEnumeratorPrivate);
 
700
  self->priv = g_proxy_address_enumerator_get_instance_private (self);
703
701
}
704
702
 
705
703
static void
708
706
  GObjectClass *object_class = G_OBJECT_CLASS (proxy_enumerator_class);
709
707
  GSocketAddressEnumeratorClass *enumerator_class = G_SOCKET_ADDRESS_ENUMERATOR_CLASS (proxy_enumerator_class);
710
708
 
711
 
  g_type_class_add_private (enumerator_class,
712
 
                            sizeof (GProxyAddressEnumeratorPrivate));
713
 
 
714
709
  object_class->constructed = g_proxy_address_enumerator_constructed;
715
710
  object_class->set_property = g_proxy_address_enumerator_set_property;
716
711
  object_class->get_property = g_proxy_address_enumerator_get_property;