aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/ChangeLog7
-rw-r--r--widgets/text/e-text.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/widgets/ChangeLog b/widgets/ChangeLog
index 7d34205ba7..0e4aad7803 100644
--- a/widgets/ChangeLog
+++ b/widgets/ChangeLog
@@ -1,3 +1,10 @@
+2006-09-27 Matthew Barnes <mbarnes@redhat.com>
+
+ Fixes bug #357970
+
+ * text/e-text.c (e_text_unrealize): Don't call deprecated GLib / GDK
+ functions.
+
2006-09-18 Matthew Barnes <mbarnes@redhat.com>
** Fixes bug #351332
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index 24e3ced5e9..a1ad01e7c1 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -1260,7 +1260,7 @@ e_text_unrealize (GnomeCanvasItem *item)
text = E_TEXT (item);
- gdk_gc_unref (text->gc);
+ g_object_unref (text->gc);
text->gc = NULL;
gdk_cursor_unref (text->i_cursor);