[gedit] Use g_object_unref instead of gdk_cursor_unref.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Use g_object_unref instead of gdk_cursor_unref.
- Date: Wed, 22 Dec 2010 19:34:43 +0000 (UTC)
commit 02afb7d26002356bbca025bef5277beb0d1dc73e
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Wed Dec 22 20:34:21 2010 +0100
Use g_object_unref instead of gdk_cursor_unref.
gedit/gedit-tab.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gedit/gedit-tab.c b/gedit/gedit-tab.c
index b2a05f8..bfb38b4 100644
--- a/gedit/gedit-tab.c
+++ b/gedit/gedit-tab.c
@@ -405,7 +405,7 @@ set_cursor_according_to_state (GtkTextView *view,
if (left_window != NULL)
gdk_window_set_cursor (left_window, cursor);
- gdk_cursor_unref (cursor);
+ g_object_unref (cursor);
}
else
{
@@ -418,7 +418,7 @@ set_cursor_according_to_state (GtkTextView *view,
if (left_window != NULL)
gdk_window_set_cursor (left_window, NULL);
- gdk_cursor_unref (cursor);
+ g_object_unref (cursor);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]