[Spice-devel] [PATCH spice-gtk 1/4] SpiceDisplay: Don't set auto-clipboard on construction

Hans de Goede hdegoede at redhat.com
Mon Oct 10 07:35:09 PDT 2011


The auto-clipboard setting now lives in the SpiceGtkSession, if that
was changed to FALSE (from the default of TRUE) and later a SpiceDisplay
was created for this session that would change it back to TRUE again because
it would set it to its default from its constructor. This patch fixes this.

Signed-off-by: Hans de Goede <hdegoede at redhat.com>
---
 gtk/spice-widget.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/gtk/spice-widget.c b/gtk/spice-widget.c
index 06e5113..fe7dba6 100644
--- a/gtk/spice-widget.c
+++ b/gtk/spice-widget.c
@@ -1231,7 +1231,6 @@ static void spice_display_class_init(SpiceDisplayClass *klass)
                               "host and guest.",
                               TRUE,
                               G_PARAM_READWRITE |
-                              G_PARAM_CONSTRUCT |
                               G_PARAM_STATIC_STRINGS));
 
     g_object_class_install_property
-- 
1.7.6.4



More information about the Spice-devel mailing list