diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2006-09-18 21:06:49 +0800 |
---|---|---|
committer | Harish Krishnaswamy <kharish@src.gnome.org> | 2006-09-18 21:06:49 +0800 |
commit | 7a205fe6d0eb35f5fea8485fcb67f70d9d6446f7 (patch) | |
tree | ae2856e35bc84ed4736c3d98a709b94ebb8f0d38 /widgets/table/e-cell-toggle.c | |
parent | 6a807f9488adba7c10573e6eaa28030e9c9cb222 (diff) | |
download | gsoc2013-evolution-7a205fe6d0eb35f5fea8485fcb67f70d9d6446f7.tar.gz 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/table/e-cell-toggle.c')
-rw-r--r-- | widgets/table/e-cell-toggle.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/table/e-cell-toggle.c b/widgets/table/e-cell-toggle.c index 2892b18598..609d097f6f 100644 --- a/widgets/table/e-cell-toggle.c +++ b/widgets/table/e-cell-toggle.c @@ -97,7 +97,7 @@ etog_kill_view (ECellView *ecell_view) for (i = 0; i < etog->n_states * CACHE_SEQ_COUNT; i++) if (toggle_view->pixmap_cache[i]) - gdk_pixmap_unref (toggle_view->pixmap_cache[i]); + g_object_unref (toggle_view->pixmap_cache[i]); g_free (toggle_view->pixmap_cache); g_free (ecell_view); } @@ -236,7 +236,7 @@ etog_draw (ECellView *ecell_view, GdkDrawable *drawable, height = gdk_pixbuf_get_height (image); } - gdk_draw_pixmap (drawable, toggle_view->gc, + gdk_draw_drawable (drawable, toggle_view->gc, pixmap, 0, 0, x, y, @@ -369,7 +369,7 @@ etog_style_set (ECellView *ecell_view, GtkStyle *previous_style) for (i = 0; i < toggle->n_states * CACHE_SEQ_COUNT; i++) { if (toggle_view->pixmap_cache[i]) { - gdk_pixmap_unref (toggle_view->pixmap_cache[i]); + g_object_unref (toggle_view->pixmap_cache[i]); toggle_view->pixmap_cache[i] = NULL; } } |