diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-01-14 12:02:52 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-01-25 23:28:26 +0800 |
commit | dc300e6bc814acbfe2fb18f2a2219afdd4fc1a59 (patch) | |
tree | 49ca8e1c75a84329c44473b91ebed4be9ed15cc5 /calendar | |
parent | ba05584de52f5f953eee7e458ebf4d45da5a3319 (diff) | |
download | gsoc2013-evolution-dc300e6bc814acbfe2fb18f2a2219afdd4fc1a59.tar.gz gsoc2013-evolution-dc300e6bc814acbfe2fb18f2a2219afdd4fc1a59.tar.zst gsoc2013-evolution-dc300e6bc814acbfe2fb18f2a2219afdd4fc1a59.zip |
gdk_cursor_unref() -> g_object_unref()
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/gui/e-day-view.c | 8 | ||||
-rw-r--r-- | calendar/gui/e-meeting-time-sel-item.c | 6 | ||||
-rw-r--r-- | calendar/gui/e-meeting-time-sel.c | 4 | ||||
-rw-r--r-- | calendar/gui/e-week-view.c | 6 |
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; } |