[libwnck] wnckprop: Stop using deprecated gdk_cursor_unref()
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libwnck] wnckprop: Stop using deprecated gdk_cursor_unref()
- Date: Fri, 12 Aug 2011 10:58:08 +0000 (UTC)
commit ead98e0855145ddc13c6ed8505a94fec19751390
Author: Vincent Untz <vuntz gnome org>
Date: Fri Aug 12 12:57:06 2011 +0200
wnckprop: Stop using deprecated gdk_cursor_unref()
libwnck/wnckprop.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libwnck/wnckprop.c b/libwnck/wnckprop.c
index ac00217..c9e54d1 100644
--- a/libwnck/wnckprop.c
+++ b/libwnck/wnckprop.c
@@ -1787,7 +1787,7 @@ get_target (gpointer data)
cross = gdk_cursor_new (GDK_CROSS);
status = gdk_pointer_grab (root, FALSE, GDK_BUTTON_PRESS_MASK,
NULL, cross, GDK_CURRENT_TIME);
- gdk_cursor_unref (cross);
+ g_object_unref (cross);
if (status != GDK_GRAB_SUCCESS)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]