From 7a205fe6d0eb35f5fea8485fcb67f70d9d6446f7 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 18 Sep 2006 13:06:49 +0000 Subject: ** Fixes bug #352450 2006-08-23 Matthew Barnes ** 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 --- widgets/table/e-table-header-utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widgets/table/e-table-header-utils.c') diff --git a/widgets/table/e-table-header-utils.c b/widgets/table/e-table-header-utils.c index 9eaba9d843..7c1ec98f78 100644 --- a/widgets/table/e-table-header-utils.c +++ b/widgets/table/e-table-header-utils.c @@ -455,12 +455,12 @@ e_table_header_draw_button (GdkDrawable *drawable, ETableCol *ecol, gdk_gc_set_clip_rectangle (gc, NULL); if (pixmap) { - gdk_draw_pixmap (drawable, gc, pixmap, + gdk_draw_drawable (drawable, gc, pixmap, 0, 0, xpos, inner_y + (inner_height - clip_height) / 2, clip_width, clip_height); - gdk_pixmap_unref (pixmap); + g_object_unref (pixmap); } } else { e_table_draw_elided_string (drawable, gc, widget, -- cgit