summaryrefslogtreecommitdiff
path: root/pango-view/viewer-pangoxft.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2008-12-26 03:22:31 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2008-12-26 03:22:31 +0000
commit3d24172554d62f72791fcec4ccc561fb939d7db7 (patch)
tree04b02a4c79089b5319a7da6ced9cf9a1db6a0acf /pango-view/viewer-pangoxft.c
parent739ed7d54dd91f96b379d88bc7d1eaa9fe710c78 (diff)
downloadpango-3d24172554d62f72791fcec4ccc561fb939d7db7.tar.gz
Fix all warnings in pango-view/
2008-12-25 Behdad Esfahbod <behdad@gnome.org> * pango-view/viewer-main.c (main): * pango-view/viewer-pangocairo.c (pangocairo_view_create), (transform_callback), (pangocairo_view_render), (pangocairo_view_write): * pango-view/viewer-pangoft2.c (substitute_func), (pangoft2_view_create), (pangoft2_view_create_surface), (pangoft2_view_destroy_surface), (render_callback), (pangoft2_view_render), (pangoft2_view_write): * pango-view/viewer-pangox.c (render_callback): * pango-view/viewer-pangoxft.c (default_substitute), (render_callback): * pango-view/viewer-render.c (parse_enum), (parse_align), (parse_ellipsis), (parse_gravity), (parse_gravity_hint), (parse_hinting), (parse_wrap), (parse_backend), (show_version): * pango-view/viewer-x.c (x_view_init): Fix all warnings in pango-view/ svn path=/trunk/; revision=2769
Diffstat (limited to 'pango-view/viewer-pangoxft.c')
-rw-r--r--pango-view/viewer-pangoxft.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango-view/viewer-pangoxft.c b/pango-view/viewer-pangoxft.c
index 1a10f5c4..14e8c355 100644
--- a/pango-view/viewer-pangoxft.c
+++ b/pango-view/viewer-pangoxft.c
@@ -27,7 +27,7 @@
static void
default_substitute (FcPattern *pattern,
- gpointer data)
+ gpointer data G_GNUC_UNUSED)
{
FcPatternDel (pattern, FC_DPI);
FcPatternAddInteger (pattern, FC_DPI, opt_dpi);
@@ -86,7 +86,7 @@ render_callback (PangoLayout *layout,
int x,
int y,
gpointer context,
- gpointer state)
+ gpointer state G_GNUC_UNUSED)
{
MyXftContext *xft_context = (MyXftContext *) context;