summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathon Jongsma <jjongsma@gnome.org>2006-08-16 02:27:45 +0000
committerJonathon Jongsma <jjongsma@gnome.org>2006-08-16 02:27:45 +0000
commit87895fe43674be6607fff8a6c215b49653054032 (patch)
tree2986a0d7eddfaf0d43e1918769f867052466e3d9
parent142b9f4f6ebf121037c4b2c22fffcec437812bb1 (diff)
2006-08-15 Jonathon Jongsma <jonathon.jongsma@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.
-rw-r--r--ChangeLog7
-rw-r--r--cairomm/context.cc1
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9b76e00..71d4834 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
2006-08-15 Jonathon Jongsma <jonathon.jongsma@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.
+
+2006-08-15 Jonathon Jongsma <jonathon.jongsma@gmail.com>
+
* cairomm/context.h: remove a FIXME that was resolved on the mailing list
2006-07-11 Murray Cumming <murrayc@murrayc.com>
diff --git a/cairomm/context.cc b/cairomm/context.cc
index 2a57ab9..2846267 100644
--- a/cairomm/context.cc
+++ b/cairomm/context.cc
@@ -603,7 +603,6 @@ Path* Context::copy_path_flat() const
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()));