After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 355580 - typo in gnome-canvas-shape.c
typo in gnome-canvas-shape.c
Status: RESOLVED FIXED
Product: libgnomecanvas
Classification: Deprecated
Component: items
CVS HEAD
Other Linux
: Normal normal
: ---
Assigned To: libgnomecanvas maintainers
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2006-09-12 14:02 UTC by eug
Modified: 2006-11-10 13:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch to fix the typo (624 bytes, patch)
2006-10-24 11:44 UTC, Kjartan Maraas
none Details | Review

Description eug 2006-09-12 14:02:04 UTC
Hello,

In gcbp_ensure_mask, on line 1418, "BpathDrawContext" should be "BpathDrawCtx"
Comment 1 Kjartan Maraas 2006-10-24 11:44:07 UTC
Created attachment 75295 [details] [review]
patch to fix the typo
Comment 2 Tim Janik 2006-10-30 21:06:59 UTC
Comment on attachment 75295 [details] [review]
patch to fix the typo

>Index: gnome-canvas-shape.c
>===================================================================
>RCS file: /cvs/gnome/libgnomecanvas/libgnomecanvas/gnome-canvas-shape.c,v
>retrieving revision 1.29
>diff -u -p -r1.29 gnome-canvas-shape.c
>--- gnome-canvas-shape.c	1 Jan 2006 21:07:50 -0000	1.29
>+++ gnome-canvas-shape.c	24 Oct 2006 11:43:35 -0000
>@@ -1415,7 +1415,7 @@ gcbp_ensure_mask (GnomeCanvasShape * sha
> 			ctx->clear_gc = NULL;
> 			ctx->xor_gc = NULL;
> 
>-			g_object_set_data (G_OBJECT (canvas), "BpathDrawContext", ctx);
>+			g_object_set_data (G_OBJECT (canvas), "BpathDrawCtx", ctx);
> 
> 		} else {
> 			ctx->refcount++;

thanks kmaras, the fix looks good, please apply.
Comment 3 Kjartan Maraas 2006-11-10 13:55:06 UTC
Commited.