aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-01-14 12:02:52 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:25 +0800
commit9914970baa59028039a95f278e13ec03ce62efa2 (patch)
tree6f76ca3a24d7490716a06274ff2993f3f0caa168 /calendar
parent7a49a211783ec81b30a384fdec8c42b52cd2a794 (diff)
downloadgsoc2013-evolution-9914970baa59028039a95f278e13ec03ce62efa2.tar.gz
gsoc2013-evolution-9914970baa59028039a95f278e13ec03ce62efa2.tar.zst
gsoc2013-evolution-9914970baa59028039a95f278e13ec03ce62efa2.zip
gdk_cursor_unref() -> g_object_unref()
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;
}