aboutsummaryrefslogtreecommitdiffstats
path: root/libgnomecanvas/gnome-canvas.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-28 01:19:32 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-30 01:51:38 +0800
commitd33983e34ff46696ca48eafb0c37cb8a3ed03c84 (patch)
treea35c2dfbb7c1c87327f573395dfa9ef8234c9cd3 /libgnomecanvas/gnome-canvas.h
parent65b1049d7028a3394961f6d4fe4418e6cdef6053 (diff)
downloadgsoc2013-evolution-d33983e34ff46696ca48eafb0c37cb8a3ed03c84.tar
gsoc2013-evolution-d33983e34ff46696ca48eafb0c37cb8a3ed03c84.tar.gz
gsoc2013-evolution-d33983e34ff46696ca48eafb0c37cb8a3ed03c84.tar.bz2
gsoc2013-evolution-d33983e34ff46696ca48eafb0c37cb8a3ed03c84.tar.lz
gsoc2013-evolution-d33983e34ff46696ca48eafb0c37cb8a3ed03c84.tar.xz
gsoc2013-evolution-d33983e34ff46696ca48eafb0c37cb8a3ed03c84.tar.zst
gsoc2013-evolution-d33983e34ff46696ca48eafb0c37cb8a3ed03c84.zip
Rename GnomeCanvasItem.destroy() to dispose().
To clarify the semantics: the method may be called multiple times so pointers should be set to NULL after freeing or unreferencing.
Diffstat (limited to 'libgnomecanvas/gnome-canvas.h')
-rw-r--r--libgnomecanvas/gnome-canvas.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgnomecanvas/gnome-canvas.h b/libgnomecanvas/gnome-canvas.h
index 884adbb383..3236e20a5f 100644
--- a/libgnomecanvas/gnome-canvas.h
+++ b/libgnomecanvas/gnome-canvas.h
@@ -151,8 +151,8 @@ struct _GnomeCanvasItemClass {
/* Unmap an item */
void (* unmap) (GnomeCanvasItem *item);
- /* Destroy item; called inside GObject's dispose of the base class */
- void (* destroy) (GnomeCanvasItem *item);
+ /* Dispose item; called inside GObject's dispose of the base class */
+ void (* dispose) (GnomeCanvasItem *item);
/* Draw an item of this type. (x, y) are the upper-left canvas pixel
* coordinates of the drawable, a temporary pixmap, where things get