aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text
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 /widgets/text
parent7a49a211783ec81b30a384fdec8c42b52cd2a794 (diff)
downloadgsoc2013-evolution-9914970baa59028039a95f278e13ec03ce62efa2.tar
gsoc2013-evolution-9914970baa59028039a95f278e13ec03ce62efa2.tar.gz
gsoc2013-evolution-9914970baa59028039a95f278e13ec03ce62efa2.tar.bz2
gsoc2013-evolution-9914970baa59028039a95f278e13ec03ce62efa2.tar.lz
gsoc2013-evolution-9914970baa59028039a95f278e13ec03ce62efa2.tar.xz
gsoc2013-evolution-9914970baa59028039a95f278e13ec03ce62efa2.tar.zst
gsoc2013-evolution-9914970baa59028039a95f278e13ec03ce62efa2.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)