summaryrefslogtreecommitdiffstats
path: root/src/display/cairo-utils.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebronyat-signgmaildotcom>2014-03-02 17:59:13 +0000
committerLiam P. White <inkscapebronyat-signgmaildotcom>2014-03-02 17:59:13 +0000
commitac167afb76ab4c730ac9dc945dc5dcd8efb8f5cf (patch)
tree0dc4f7c1cc2391d96abc6005a854df6336c084f8 /src/display/cairo-utils.cpp
parentExperimental merge of Ponyscape to Inkscape trunk (does not compile) (diff)
downloadinkscape-ac167afb76ab4c730ac9dc945dc5dcd8efb8f5cf.tar.gz
inkscape-ac167afb76ab4c730ac9dc945dc5dcd8efb8f5cf.zip
Experimental Ponyscape to Inkscape merge (does not compile)
(bzr r13090.1.4)
Diffstat (limited to 'src/display/cairo-utils.cpp')
-rw-r--r--src/display/cairo-utils.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/display/cairo-utils.cpp b/src/display/cairo-utils.cpp
index 5b358ade7..c0a17bcdd 100644
--- a/src/display/cairo-utils.cpp
+++ b/src/display/cairo-utils.cpp
@@ -30,8 +30,6 @@
#include "helper/geom-curves.h"
#include "display/cairo-templates.h"
-static void ink_cairo_pixbuf_cleanup(guchar *, void *);
-
/**
* Key for cairo_surface_t to keep track of current color interpolation value
* Only the address of the structure is used, it is never initialized. See:
@@ -1119,7 +1117,7 @@ GdkPixbuf *ink_pixbuf_create_from_cairo_surface(cairo_surface_t *s)
* to gdk_pixbuf_new_from_data when creating a GdkPixbuf backed by
* a Cairo surface.
*/
-static void ink_cairo_pixbuf_cleanup(guchar * /*pixels*/, void *data)
+void ink_cairo_pixbuf_cleanup(guchar * /*pixels*/, void *data)
{
cairo_surface_t *surface = static_cast<cairo_surface_t*>(data);
cairo_surface_destroy(surface);