[aisleriot] Replace gdk_cursor_unref with g_object_unref
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aisleriot] Replace gdk_cursor_unref with g_object_unref
- Date: Mon, 21 Nov 2011 13:41:48 +0000 (UTC)
commit f2a93298f2a64565697e6654b47e602876cc7b3f
Author: Christian Persch <chpe gnome org>
Date: Mon Nov 21 13:47:11 2011 +0100
Replace gdk_cursor_unref with g_object_unref
src/ar-clutter-embed.c | 2 +-
src/board-noclutter.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ar-clutter-embed.c b/src/ar-clutter-embed.c
index 9b257b0..3ba5db9 100644
--- a/src/ar-clutter-embed.c
+++ b/src/ar-clutter-embed.c
@@ -85,7 +85,7 @@ ar_clutter_embed_unrealize (GtkWidget *widget)
guint i;
for (i = 0; i < AR_LAST_CURSOR; ++i) {
- gdk_cursor_unref (priv->cursor[i]);
+ g_object_unref (priv->cursor[i]);
priv->cursor[i] = NULL;
}
#endif /* !NO_MOUSE*/
diff --git a/src/board-noclutter.c b/src/board-noclutter.c
index d820e0f..8adbc48 100644
--- a/src/board-noclutter.c
+++ b/src/board-noclutter.c
@@ -2263,7 +2263,7 @@ aisleriot_board_unrealize (GtkWidget *widget)
priv->slot_surface = NULL;
for (i = 0; i < AR_LAST_CURSOR; ++i) {
- gdk_cursor_unref (priv->cursor[i]);
+ g_object_unref (priv->cursor[i]);
priv->cursor[i] = NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]