[gnio] Set listen backlog property via setter
- From: Alexander Larsson <alexl src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnio] Set listen backlog property via setter
- Date: Tue, 28 Apr 2009 06:09:08 -0400 (EDT)
commit ec065d9deac2a0660ddae982034eca79ac4026f9
Author: Alexander Larsson <alexl redhat com>
Date: Tue Apr 28 10:59:07 2009 +0200
Set listen backlog property via setter
If we set it directly then the notification will not be sent.
---
gio/gsocket.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gio/gsocket.c b/gio/gsocket.c
index 5f531f2..d0954b4 100644
--- a/gio/gsocket.c
+++ b/gio/gsocket.c
@@ -342,7 +342,7 @@ g_socket_set_property (GObject *object,
break;
case PROP_LISTEN_BACKLOG:
- socket->priv->listen_backlog = g_value_get_int (value);
+ g_socket_set_listen_backlog (socket, g_value_get_int (value));
break;
case PROP_REUSE_ADDRESS:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]