[libgxps] Add private internal method gxps_page_render_parser_push()
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgxps] Add private internal method gxps_page_render_parser_push()
- Date: Thu, 17 Nov 2011 19:23:15 +0000 (UTC)
commit bb1511e6c8454b4a5259d6d2264544919ab6065e
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Mon Nov 14 19:46:47 2011 +0100
Add private internal method gxps_page_render_parser_push()
libgxps/gxps-page-private.h | 3 +++
libgxps/gxps-page.c | 7 +++++++
2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/libgxps/gxps-page-private.h b/libgxps/gxps-page-private.h
index 03aa547..834ce4a 100644
--- a/libgxps/gxps-page-private.h
+++ b/libgxps/gxps-page-private.h
@@ -57,6 +57,9 @@ struct _GXPSRenderContext {
GXPSBrushVisual *visual;
};
+void gxps_page_render_parser_push (GMarkupParseContext *context,
+ GXPSRenderContext *ctx);
+
G_END_DECLS
#endif /* __GXPS_PAGE_PRIVATE_H__ */
diff --git a/libgxps/gxps-page.c b/libgxps/gxps-page.c
index 5b1f32e..c89ea26 100644
--- a/libgxps/gxps-page.c
+++ b/libgxps/gxps-page.c
@@ -190,6 +190,13 @@ static GMarkupParser render_parser = {
NULL
};
+void
+gxps_page_render_parser_push (GMarkupParseContext *context,
+ GXPSRenderContext *ctx)
+{
+ g_markup_parse_context_push (context, &render_parser, ctx);
+}
+
typedef struct {
GXPSRenderContext *ctx;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]