[evolution/webkit] gdk_cursor_unref() -> g_object_unref()
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit] gdk_cursor_unref() -> g_object_unref()
- Date: Mon, 11 Jul 2011 14:04:30 +0000 (UTC)
commit 019a213f28e57a241dd64aceda01adf7615688f7
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Jan 13 23:02:52 2011 -0500
gdk_cursor_unref() -> g_object_unref()
calendar/gui/e-day-view.c | 8 ++++----
calendar/gui/e-meeting-time-sel-item.c | 6 +++---
calendar/gui/e-meeting-time-sel.c | 4 ++--
calendar/gui/e-week-view.c | 6 +++---
mail/em-subscription-editor.c | 6 +++---
widgets/table/e-cell-text.c | 2 +-
widgets/table/e-table-header-item.c | 2 +-
widgets/text/e-reflow.c | 4 ++--
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 d5eaeca..a183553 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 7a50f13..14644c5 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 61ef52f..d68c369 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 8e1b974..acba2b6 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 1ccab1a..f84486a 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 83338fc..2e260d7 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 2845651..eda9e26 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 535d468..465cf03 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 d2c5d84..e28a5f5 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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]