aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/e-day-view.c8
-rw-r--r--calendar/gui/e-meeting-time-sel-item.c6
-rw-r--r--calendar/gui/e-meeting-time-sel.c4
-rw-r--r--calendar/gui/e-week-view.c6
4 files changed, 12 insertions, 12 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index d5eaeca0ab..a183553456 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -1307,19 +1307,19 @@ e_day_view_dispose (GObject *object)
}
if (day_view->normal_cursor) {
- gdk_cursor_unref (day_view->normal_cursor);
+ g_object_unref (day_view->normal_cursor);
day_view->normal_cursor = NULL;
}
if (day_view->move_cursor) {
- gdk_cursor_unref (day_view->move_cursor);
+ g_object_unref (day_view->move_cursor);
day_view->move_cursor = NULL;
}
if (day_view->resize_width_cursor) {
- gdk_cursor_unref (day_view->resize_width_cursor);
+ g_object_unref (day_view->resize_width_cursor);
day_view->resize_width_cursor = NULL;
}
if (day_view->resize_height_cursor) {
- gdk_cursor_unref (day_view->resize_height_cursor);
+ g_object_unref (day_view->resize_height_cursor);
day_view->resize_height_cursor = NULL;
}
diff --git a/calendar/gui/e-meeting-time-sel-item.c b/calendar/gui/e-meeting-time-sel-item.c
index 7a50f13a1d..14644c5b89 100644
--- a/calendar/gui/e-meeting-time-sel-item.c
+++ b/calendar/gui/e-meeting-time-sel-item.c
@@ -148,15 +148,15 @@ e_meeting_time_selector_item_dispose (GObject *object)
mts_item = E_MEETING_TIME_SELECTOR_ITEM (object);
if (mts_item->normal_cursor) {
- gdk_cursor_unref (mts_item->normal_cursor);
+ g_object_unref (mts_item->normal_cursor);
mts_item->normal_cursor = NULL;
}
if (mts_item->resize_cursor) {
- gdk_cursor_unref (mts_item->resize_cursor);
+ g_object_unref (mts_item->resize_cursor);
mts_item->resize_cursor = NULL;
}
if (mts_item->busy_cursor) {
- gdk_cursor_unref (mts_item->busy_cursor);
+ g_object_unref (mts_item->busy_cursor);
mts_item->busy_cursor = NULL;
}
diff --git a/calendar/gui/e-meeting-time-sel.c b/calendar/gui/e-meeting-time-sel.c
index 61ef52f47f..d68c369270 100644
--- a/calendar/gui/e-meeting-time-sel.c
+++ b/calendar/gui/e-meeting-time-sel.c
@@ -1467,7 +1467,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;
@@ -1515,7 +1515,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 8e1b974649..acba2b6700 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -888,15 +888,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;
}