summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2009-05-08 19:45:14 (GMT)
committerAlexander Larsson <alexl@redhat.com>2009-05-08 19:45:14 (GMT)
commit1fcc9f6026913ec2451e48d3b1ffa3186a2c902b (patch)
treef987989fc63a130a904b810d4f01025b2d158b8d
parente63225a42c3e16944c71be1f5f199ed6986b744d (diff)
downloadgnio-1fcc9f6026913ec2451e48d3b1ffa3186a2c902b.tar.gz
gnio-1fcc9f6026913ec2451e48d3b1ffa3186a2c902b.tar.xz
Remove last mentions of "domain", its really "family"
I dunno why socket() calls the first argument "domain" when its called family everywhere else, but don't leak that into gnio.
-rw-r--r--gio/gsocket.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gio/gsocket.c b/gio/gsocket.c
index 5d9a273..57b83c6 100644
--- a/gio/gsocket.c
+++ b/gio/gsocket.c
@@ -109,7 +109,7 @@ G_DEFINE_TYPE_WITH_CODE (GSocket, g_socket, G_TYPE_OBJECT,
enum
{
PROP_0,
- PROP_DOMAIN,
+ PROP_FAMILY,
PROP_TYPE,
PROP_PROTOCOL,
PROP_FD,
@@ -514,7 +514,7 @@ g_socket_get_property (GObject *object,
switch (prop_id)
{
- case PROP_DOMAIN:
+ case PROP_FAMILY:
g_value_set_enum (value, socket->priv->family);
break;
@@ -569,7 +569,7 @@ g_socket_set_property (GObject *object,
switch (prop_id)
{
- case PROP_DOMAIN:
+ case PROP_FAMILY:
socket->priv->family = g_value_get_enum (value);
break;
@@ -665,7 +665,7 @@ g_socket_class_init (GSocketClass *klass)
gobject_class->set_property = g_socket_set_property;
gobject_class->get_property = g_socket_get_property;
- g_object_class_install_property (gobject_class, PROP_DOMAIN,
+ g_object_class_install_property (gobject_class, PROP_FAMILY,
g_param_spec_enum ("family",
P_("Socket family"),
P_("The sockets address family"),