[cairo-commit] cairomm/cairomm surface.cc,1.4,1.5

Murray Cumming commit at pdx.freedesktop.org
Fri Jan 6 08:14:21 PST 2006


Committed by: murrayc

Update of /cvs/cairo/cairomm/cairomm
In directory gabe:/tmp/cvs-serv20032/cairomm

Modified Files:
	surface.cc 
Log Message:
2006-01-03  Jonathon Jongsma  <jonathon.jongsma at gmail.com>

        * cairomm/surface.cc: added missing implementations for reference() and
        unreference() functions


Index: surface.cc
===================================================================
RCS file: /cvs/cairo/cairomm/cairomm/surface.cc,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- surface.cc	20 Dec 2005 09:17:53 -0000	1.4
+++ surface.cc	6 Jan 2006 16:14:19 -0000	1.5
@@ -135,4 +135,14 @@
   return result;
 }
 
+void Surface::reference() const
+{
+    cairo_surface_reference(m_cobject);
+}
+
+void Surface::unreference() const
+{
+    cairo_surface_destroy(m_cobject);
+}
+
 } //namespace Cairo



More information about the cairo-commit mailing list