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 | |
parent | ba05584de52f5f953eee7e458ebf4d45da5a3319 (diff) | |
download | gsoc2013-evolution-dc300e6bc814acbfe2fb18f2a2219afdd4fc1a59.tar.gz gsoc2013-evolution-dc300e6bc814acbfe2fb18f2a2219afdd4fc1a59.tar.zst gsoc2013-evolution-dc300e6bc814acbfe2fb18f2a2219afdd4fc1a59.zip |
gdk_cursor_unref() -> g_object_unref()
-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 | ||||
-rw-r--r-- | mail/em-subscription-editor.c | 6 | ||||
-rw-r--r-- | widgets/table/e-cell-text.c | 2 | ||||
-rw-r--r-- | widgets/table/e-table-header-item.c | 2 | ||||
-rw-r--r-- | widgets/text/e-reflow.c | 4 | ||||
-rw-r--r-- | widgets/text/e-text.c | 4 |
9 files changed, 21 insertions, 21 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; } diff --git a/mail/em-subscription-editor.c b/mail/em-subscription-editor.c index 1ccab1aaca..f84486a4dc 100644 --- a/mail/em-subscription-editor.c +++ b/mail/em-subscription-editor.c @@ -408,7 +408,7 @@ subscription_editor_subscribe (EMSubscriptionEditor *editor) cursor = gdk_cursor_new (GDK_WATCH); window = gtk_widget_get_window (GTK_WIDGET (editor)); gdk_window_set_cursor (window, cursor); - gdk_cursor_unref (cursor); + g_object_unref (cursor); gtk_tree_model_get ( tree_model, &iter, COL_FOLDER_INFO, &folder_info, -1); @@ -466,7 +466,7 @@ subscription_editor_unsubscribe (EMSubscriptionEditor *editor) cursor = gdk_cursor_new (GDK_WATCH); window = gtk_widget_get_window (GTK_WIDGET (editor)); gdk_window_set_cursor (window, cursor); - gdk_cursor_unref (cursor); + g_object_unref (cursor); gtk_tree_model_get ( tree_model, &iter, COL_FOLDER_INFO, &folder_info, -1); @@ -520,7 +520,7 @@ subscription_editor_refresh (EMSubscriptionEditor *editor) cursor = gdk_cursor_new (GDK_WATCH); window = gtk_widget_get_window (GTK_WIDGET (editor)); gdk_window_set_cursor (window, cursor); - gdk_cursor_unref (cursor); + g_object_unref (cursor); camel_store_get_folder_info ( editor->priv->active->store, NULL, diff --git a/widgets/table/e-cell-text.c b/widgets/table/e-cell-text.c index 83338fc1e7..2e260d7135 100644 --- a/widgets/table/e-cell-text.c +++ b/widgets/table/e-cell-text.c @@ -386,7 +386,7 @@ ect_unrealize (ECellView *ecv) ect_cancel_edit (text_view); } - gdk_cursor_unref (text_view->i_cursor); + g_object_unref (text_view->i_cursor); if (ect->colors) { colormap = gtk_widget_get_colormap (GTK_WIDGET (text_view->canvas)); diff --git a/widgets/table/e-table-header-item.c b/widgets/table/e-table-header-item.c index 284565165d..eda9e26063 100644 --- a/widgets/table/e-table-header-item.c +++ b/widgets/table/e-table-header-item.c @@ -108,7 +108,7 @@ ethi_dispose (GObject *object) { scroll_off (ethi); if (ethi->resize_cursor) { - gdk_cursor_unref (ethi->resize_cursor); + g_object_unref (ethi->resize_cursor); ethi->resize_cursor = NULL; } diff --git a/widgets/text/e-reflow.c b/widgets/text/e-reflow.c index 535d468450..465cf0330f 100644 --- a/widgets/text/e-reflow.c +++ b/widgets/text/e-reflow.c @@ -903,8 +903,8 @@ e_reflow_unrealize (GnomeCanvasItem *item) reflow = E_REFLOW (item); - gdk_cursor_unref (reflow->arrow_cursor); - gdk_cursor_unref (reflow->default_cursor); + g_object_unref (reflow->arrow_cursor); + g_object_unref (reflow->default_cursor); reflow->arrow_cursor = NULL; reflow->default_cursor = NULL; diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index d2c5d846ba..e28a5f5ecd 100644 --- a/widgets/text/e-text.c +++ b/widgets/text/e-text.c @@ -1171,9 +1171,9 @@ e_text_unrealize (GnomeCanvasItem *item) text = E_TEXT (item); - gdk_cursor_unref (text->i_cursor); + g_object_unref (text->i_cursor); text->i_cursor = NULL; - gdk_cursor_unref (text->default_cursor); + g_object_unref (text->default_cursor); text->default_cursor = NULL; if (GNOME_CANVAS_ITEM_CLASS (e_text_parent_class)->unrealize) |