aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-extras.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2006-12-04 23:44:31 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2006-12-04 23:44:31 +0800
commita197d5aff686b9af1f3564ec37f0ff71776f5147 (patch)
treecdcd92d8c62d9e4066c64c200cec0d927686fe45 /widgets/table/e-table-extras.c
parenta39f7ac63aee199d7b5393e24a247ec3b9012445 (diff)
downloadgsoc2013-evolution-a197d5aff686b9af1f3564ec37f0ff71776f5147.tar
gsoc2013-evolution-a197d5aff686b9af1f3564ec37f0ff71776f5147.tar.gz
gsoc2013-evolution-a197d5aff686b9af1f3564ec37f0ff71776f5147.tar.bz2
gsoc2013-evolution-a197d5aff686b9af1f3564ec37f0ff71776f5147.tar.lz
gsoc2013-evolution-a197d5aff686b9af1f3564ec37f0ff71776f5147.tar.xz
gsoc2013-evolution-a197d5aff686b9af1f3564ec37f0ff71776f5147.tar.zst
gsoc2013-evolution-a197d5aff686b9af1f3564ec37f0ff71776f5147.zip
Fixes bug #357970
2006-12-04 Matthew Barnes <mbarnes@redhat.com> Fixes bug #357970 * e-cell-pixbuf.c: * e-cell-progress.c: * e-cell-text.c: * e-cell-toggle.c: * e-cell-tree.c: * e-table-col.c: * e-table-extras.c: * e-table-header-item.c: * e-table-header-utils.c: * e-table-item.c: * e-table-memory-store.c: Don't call deprecated GLib / GDK functions. svn path=/trunk/; revision=33049
Diffstat (limited to 'widgets/table/e-table-extras.c')
-rw-r--r--widgets/table/e-table-extras.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/table/e-table-extras.c b/widgets/table/e-table-extras.c
index e9c2075508..5b13c4e5f4 100644
--- a/widgets/table/e-table-extras.c
+++ b/widgets/table/e-table-extras.c
@@ -58,7 +58,7 @@ pixbuf_hash_free(gchar *key,
{
g_free(key);
if (pixbuf)
- gdk_pixbuf_unref(pixbuf);
+ g_object_unref(pixbuf);
}
static void
@@ -281,11 +281,11 @@ e_table_extras_add_pixbuf (ETableExtras *extras,
g_hash_table_remove (extras->cells, old_key);
g_free (old_key);
if (old_pixbuf)
- gdk_pixbuf_unref (old_pixbuf);
+ g_object_unref (old_pixbuf);
}
if (pixbuf)
- gdk_pixbuf_ref(pixbuf);
+ g_object_ref(pixbuf);
g_hash_table_insert (extras->pixbufs, g_strdup(id), pixbuf);
}