[evolution/gtk3] gdk_cursor_unref -> g_object_unref
- From: Kjartan Maraas <kmaraas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gtk3] gdk_cursor_unref -> g_object_unref
- Date: Sun, 26 Dec 2010 12:04:27 +0000 (UTC)
commit a30399563daa883a7e0ebb27fc5b459d3e6fc831
Author: Kjartan Maraas <kmaraas gnome org>
Date: Sun Dec 26 13:02:08 2010 +0100
gdk_cursor_unref -> g_object_unref
calendar/gui/e-meeting-time-sel.c | 4 ++--
calendar/gui/e-week-view.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/calendar/gui/e-meeting-time-sel.c b/calendar/gui/e-meeting-time-sel.c
index bf6aed4..9219ed6 100644
--- a/calendar/gui/e-meeting-time-sel.c
+++ b/calendar/gui/e-meeting-time-sel.c
@@ -1466,7 +1466,7 @@ e_meeting_time_selector_refresh_cb (gpointer data)
window = gtk_widget_get_window (GTK_WIDGET (mts));
if (window)
gdk_window_set_cursor (window, cursor);
- gdk_cursor_unref (cursor);
+ g_object_unref (cursor);
mts->last_cursor_set = GDK_LEFT_PTR;
@@ -1514,7 +1514,7 @@ e_meeting_time_selector_refresh_free_busy (EMeetingTimeSelector *mts, gint row,
cursor = gdk_cursor_new (GDK_WATCH);
window = gtk_widget_get_window (GTK_WIDGET (mts));
gdk_window_set_cursor (window, cursor);
- gdk_cursor_unref (cursor);
+ g_object_unref (cursor);
mts->last_cursor_set = GDK_WATCH;
}
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index bc55f14..73c4969 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -891,15 +891,15 @@ e_week_view_dispose (GObject *object)
}
if (week_view->normal_cursor) {
- gdk_cursor_unref (week_view->normal_cursor);
+ g_object_unref (week_view->normal_cursor);
week_view->normal_cursor = NULL;
}
if (week_view->move_cursor) {
- gdk_cursor_unref (week_view->move_cursor);
+ g_object_unref (week_view->move_cursor);
week_view->move_cursor = NULL;
}
if (week_view->resize_width_cursor) {
- gdk_cursor_unref (week_view->resize_width_cursor);
+ g_object_unref (week_view->resize_width_cursor);
week_view->resize_width_cursor = NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]