[gtk-vnc] Fix mistaken use of g_object_unref instead of gdk_cursor_unref



commit 893ea0db10551ad56517b50ca05d1c748278d24f
Author: Daniel P. Berrange <berrange redhat com>
Date:   Mon Jul 2 16:48:30 2012 +0100

    Fix mistaken use of g_object_unref instead of gdk_cursor_unref

 src/vncdisplay.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/vncdisplay.c b/src/vncdisplay.c
index fe7639c..c6354b5 100644
--- a/src/vncdisplay.c
+++ b/src/vncdisplay.c
@@ -1356,7 +1356,7 @@ static void on_cursor_changed(VncConnection *conn G_GNUC_UNUSED,
               cursor ? vnc_cursor_get_height(cursor) : -1);
 
     if (priv->remote_cursor) {
-        g_object_unref(priv->remote_cursor);
+        gdk_cursor_unref(priv->remote_cursor);
         priv->remote_cursor = NULL;
     }
 



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