[wing] namedpipeclient: make the timeout property set at construct



commit 11c2317cc00c7c0503442c336ca79074cdf10254
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Wed Aug 10 16:22:19 2016 +0200

    namedpipeclient: make the timeout property set at construct
    
    This way we get the proper default value when creating the object.

 wing/wingnamedpipeclient.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/wing/wingnamedpipeclient.c b/wing/wingnamedpipeclient.c
index ced2770..144b282 100644
--- a/wing/wingnamedpipeclient.c
+++ b/wing/wingnamedpipeclient.c
@@ -116,6 +116,7 @@ wing_named_pipe_client_class_init (WingNamedPipeClientClass *klass)
                       NMPWAIT_WAIT_FOREVER,
                       NMPWAIT_WAIT_FOREVER,
                       G_PARAM_READWRITE |
+                      G_PARAM_CONSTRUCT |
                       G_PARAM_STATIC_STRINGS);
 
   g_object_class_install_properties (object_class, LAST_PROP, props);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]