[libgxps] Make gxps_page_get_image() public internally
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgxps] Make gxps_page_get_image() public internally
- Date: Thu, 17 Nov 2011 19:23:20 +0000 (UTC)
commit 431c98fe2f4f3b07b2f442607cebb35ed368d5a9
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Mon Nov 14 19:48:17 2011 +0100
Make gxps_page_get_image() public internally
libgxps/gxps-page-private.h | 7 +++++--
libgxps/gxps-page.c | 2 +-
2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/libgxps/gxps-page-private.h b/libgxps/gxps-page-private.h
index 834ce4a..3303410 100644
--- a/libgxps/gxps-page-private.h
+++ b/libgxps/gxps-page-private.h
@@ -57,8 +57,11 @@ struct _GXPSRenderContext {
GXPSBrushVisual *visual;
};
-void gxps_page_render_parser_push (GMarkupParseContext *context,
- GXPSRenderContext *ctx);
+cairo_surface_t *gxps_page_get_image (GXPSPage *page,
+ const gchar *image_uri,
+ GError **error);
+void gxps_page_render_parser_push (GMarkupParseContext *context,
+ GXPSRenderContext *ctx);
G_END_DECLS
diff --git a/libgxps/gxps-page.c b/libgxps/gxps-page.c
index c89ea26..9de1af6 100644
--- a/libgxps/gxps-page.c
+++ b/libgxps/gxps-page.c
@@ -72,7 +72,7 @@ gxps_page_error_quark (void)
}
/* Images */
-static cairo_surface_t *
+cairo_surface_t *
gxps_page_get_image (GXPSPage *page,
const gchar *image_uri,
GError **error)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]