aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
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
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')
-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)