aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2006-09-18 21:06:49 +0800
committerHarish Krishnaswamy <kharish@src.gnome.org>2006-09-18 21:06:49 +0800
commit7a205fe6d0eb35f5fea8485fcb67f70d9d6446f7 (patch)
treeae2856e35bc84ed4736c3d98a709b94ebb8f0d38 /widgets/text
parent6a807f9488adba7c10573e6eaa28030e9c9cb222 (diff)
downloadgsoc2013-evolution-7a205fe6d0eb35f5fea8485fcb67f70d9d6446f7.tar
gsoc2013-evolution-7a205fe6d0eb35f5fea8485fcb67f70d9d6446f7.tar.gz
gsoc2013-evolution-7a205fe6d0eb35f5fea8485fcb67f70d9d6446f7.tar.bz2
gsoc2013-evolution-7a205fe6d0eb35f5fea8485fcb67f70d9d6446f7.tar.lz
gsoc2013-evolution-7a205fe6d0eb35f5fea8485fcb67f70d9d6446f7.tar.xz
gsoc2013-evolution-7a205fe6d0eb35f5fea8485fcb67f70d9d6446f7.tar.zst
gsoc2013-evolution-7a205fe6d0eb35f5fea8485fcb67f70d9d6446f7.zip
** Fixes bug #352450
2006-08-23 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #352450 * misc/e-canvas-background.c: * misc/e-cursors.c: * misc/e-map.c: * misc/e-reflow.c: * misc/e-task-widget.c: * misc/gal-combo-box.c: * table/e-cell-text.c: * table/e-cell-toggle.c: * table/e-table-field-chooser-item.c: * table/e-table-field-chooser.c: * table/e-table-header-item.c: * table/e-table-header-utils.c: * table/e-table-item.c: * table/e-table.c: * table/e-tree-memory.c: * table/e-tree-sorted.c: * table/e-tree.c: * table/e-text.c: Replace deprecated GLib and GDK function calls. svn path=/trunk/; revision=32783
Diffstat (limited to 'widgets/text')
-rw-r--r--widgets/text/e-text.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c
index 1cc802260e..24e3ced5e9 100644
--- a/widgets/text/e-text.c
+++ b/widgets/text/e-text.c
@@ -229,7 +229,7 @@ e_text_dispose (GObject *object)
text->revert = NULL;
if (text->stipple)
- gdk_bitmap_unref (text->stipple);
+ g_object_unref (text->stipple);
text->stipple = NULL;
if (text->timeout_id) {
@@ -645,11 +645,11 @@ static void
set_stipple (EText *text, GdkBitmap *stipple, int reconfigure)
{
if (text->stipple && !reconfigure)
- gdk_bitmap_unref (text->stipple);
+ g_object_unref (text->stipple);
text->stipple = stipple;
if (stipple && !reconfigure)
- gdk_bitmap_ref (stipple);
+ g_object_ref (stipple);
if (text->gc) {
if (stipple) {
@@ -1263,9 +1263,9 @@ e_text_unrealize (GnomeCanvasItem *item)
gdk_gc_unref (text->gc);
text->gc = NULL;
- gdk_cursor_destroy (text->i_cursor);
+ gdk_cursor_unref (text->i_cursor);
text->i_cursor = NULL;
- gdk_cursor_destroy (text->default_cursor);
+ gdk_cursor_unref (text->default_cursor);
text->default_cursor = NULL;
if (parent_class->unrealize)