aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-01-14 12:02:52 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-01-25 23:28:26 +0800
commitdc300e6bc814acbfe2fb18f2a2219afdd4fc1a59 (patch)
tree49ca8e1c75a84329c44473b91ebed4be9ed15cc5 /widgets
parentba05584de52f5f953eee7e458ebf4d45da5a3319 (diff)
downloadgsoc2013-evolution-dc300e6bc814acbfe2fb18f2a2219afdd4fc1a59.tar
gsoc2013-evolution-dc300e6bc814acbfe2fb18f2a2219afdd4fc1a59.tar.gz
gsoc2013-evolution-dc300e6bc814acbfe2fb18f2a2219afdd4fc1a59.tar.bz2
gsoc2013-evolution-dc300e6bc814acbfe2fb18f2a2219afdd4fc1a59.tar.lz
gsoc2013-evolution-dc300e6bc814acbfe2fb18f2a2219afdd4fc1a59.tar.xz
gsoc2013-evolution-dc300e6bc814acbfe2fb18f2a2219afdd4fc1a59.tar.zst
gsoc2013-evolution-dc300e6bc814acbfe2fb18f2a2219afdd4fc1a59.zip
gdk_cursor_unref() -> g_object_unref()
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/e-cell-text.c2
-rw-r--r--widgets/table/e-table-header-item.c2
-rw-r--r--widgets/text/e-reflow.c4
-rw-r--r--widgets/text/e-text.c4
4 files changed, 6 insertions, 6 deletions
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)