[cairo-commit] cairomm/cairomm context.cc,1.13,1.14

Jonathon Jongsma commit at pdx.freedesktop.org
Tue Aug 15 19:27:47 PDT 2006


Committed by: jjongsma

Update of /cvs/cairo/cairomm/cairomm
In directory kemper:/tmp/cvs-serv32418/cairomm

Modified Files:
	context.cc 
Log Message:
2006-08-15  Jonathon Jongsma  <jonathon.jongsma at gmail.com>

	* cairomm/context.cc: remove another TODO.  I looked at cairo_append_path,
	and it just copies the data from the supplied path and appends that to the
	current path -- it doesn't modify the passed in path -- so it can stay
	const.


Index: context.cc
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/context.cc,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- context.cc	23 Jun 2006 18:37:44 -0000	1.13
+++ context.cc	16 Aug 2006 02:27:45 -0000	1.14
@@ -603,7 +603,6 @@
   return new Path(cresult, true /* take ownership */); //The caller must delete it.
 }
 
-//TODO: Should this be const? Does cairo_append_path() take ownership?
 void Context::append_path(const Path& path)
 {
   cairo_append_path(m_cobject, const_cast<cairo_path_t*>(path.cobj()));



More information about the cairo-commit mailing list