diff options
author | marcus <marcus@FreeBSD.org> | 2005-05-21 04:59:23 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2005-05-21 04:59:23 +0800 |
commit | 60377b13621a83e1845ff417ea9ff2a03198226d (patch) | |
tree | da584b6958486dbf2e016d7370426498acea57c8 /graphics/libgnomecanvas | |
parent | 025cc7b58d1d76b6406210a9861b9614cc20c546 (diff) | |
download | freebsd-ports-gnome-60377b13621a83e1845ff417ea9ff2a03198226d.tar.gz freebsd-ports-gnome-60377b13621a83e1845ff417ea9ff2a03198226d.tar.zst freebsd-ports-gnome-60377b13621a83e1845ff417ea9ff2a03198226d.zip |
Remove a g_assert() that was causing applications such as evolution to crash.
The new code NULLs out the canvas member of the item structure, so this
assert should no longer be needed.
Reported by: pav
Diffstat (limited to 'graphics/libgnomecanvas')
-rw-r--r-- | graphics/libgnomecanvas/Makefile | 1 | ||||
-rw-r--r-- | graphics/libgnomecanvas/files/patch-libgnomecanvas_gnome-canvas-shape.c | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/graphics/libgnomecanvas/Makefile b/graphics/libgnomecanvas/Makefile index baa089c4b040..12dea8e3ef36 100644 --- a/graphics/libgnomecanvas/Makefile +++ b/graphics/libgnomecanvas/Makefile @@ -7,6 +7,7 @@ PORTNAME= libgnomecanvas PORTVERSION= 2.10.1 +PORTREVISION= 1 CATEGORIES= graphics gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.10 diff --git a/graphics/libgnomecanvas/files/patch-libgnomecanvas_gnome-canvas-shape.c b/graphics/libgnomecanvas/files/patch-libgnomecanvas_gnome-canvas-shape.c new file mode 100644 index 000000000000..75c1fd41d8f0 --- /dev/null +++ b/graphics/libgnomecanvas/files/patch-libgnomecanvas_gnome-canvas-shape.c @@ -0,0 +1,11 @@ +--- libgnomecanvas/gnome-canvas-shape.c.orig Fri May 20 16:55:35 2005 ++++ libgnomecanvas/gnome-canvas-shape.c Fri May 20 16:55:41 2005 +@@ -1343,7 +1343,7 @@ gcbp_destroy_gdk (GnomeCanvasShape * sha + { + GnomeCanvasShapePrivGdk * gdk; + +- g_assert (!((GnomeCanvasItem *)shape)->canvas->aa); ++ /*g_assert (!((GnomeCanvasItem *)shape)->canvas->aa);*/ + + gdk = shape->priv->gdk; + |