aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text
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/text
parentba05584de52f5f953eee7e458ebf4d45da5a3319 (diff)
downloadgsoc2013-evolution-dc300e6bc814acbfe2fb18f2a2219afdd4fc1a59.tar.gz
gsoc2013-evolution-dc300e6bc814acbfe2fb18f2a2219afdd4fc1a59.tar.zst
gsoc2013-evolution-dc300e6bc814acbfe2fb18f2a2219afdd4fc1a59.zip
gdk_cursor_unref() -> g_object_unref()
Diffstat (limited to 'widgets/text')
-rw-r--r--widgets/text/e-reflow.c4
-rw-r--r--widgets/text/e-text.c4
2 files changed, 4 insertions, 4 deletions
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)