summaryrefslogtreecommitdiff
path: root/pango/pango-matrix.h
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-06-12 00:38:13 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-06-12 00:38:13 +0000
commit4b9a95cf71f5c9cf45159899cc9674fcc248fb83 (patch)
treea597e6005547e5ac1cffafa83c1c0f284f6bc9cf /pango/pango-matrix.h
parent19290cba0704aec45d7cceb81c283f80a79db933 (diff)
downloadpango-4b9a95cf71f5c9cf45159899cc9674fcc248fb83.tar.gz
Add G_GNUC_CONST and G_GNUC_PURE annotations.
2007-06-11 Behdad Esfahbod <behdad@gnome.org> * pango/pango-attributes.h: * pango/pango-font.h: * pango/pango-glyph.h: * pango/pango-gravity.h: * pango/pango-language.h: * pango/pango-layout.h: * pango/pango-matrix.h: * pango/pango-ot-private.h: * pango/pango-ot.h: * pango/pango-renderer.h: * pango/pango-script.h: * pango/pango-tabs.h: * pango/pango-utils.h: * pango/pangoatsui-private.h: * pango/pangocairo-atsui.h: * pango/pangocairo-atsuifont.h: * pango/pangocairo-fc.h: * pango/pangocairo-private.h: * pango/pangocairo-win32.h: * pango/pangocairo.h: * pango/pangofc-decoder.h: * pango/pangofc-font.h: * pango/pangofc-fontmap.h: * pango/pangoft2-private.h: * pango/pangoft2.h: * pango/pangowin32-private.h: * pango/pangox-private.h: * pango/pangoxft-render.h: * pango/pangoxft.h: Add G_GNUC_CONST and G_GNUC_PURE annotations. svn path=/trunk/; revision=2345
Diffstat (limited to 'pango/pango-matrix.h')
-rw-r--r--pango/pango-matrix.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/pango/pango-matrix.h b/pango/pango-matrix.h
index 3ad5e9ff..5909367d 100644
--- a/pango/pango-matrix.h
+++ b/pango/pango-matrix.h
@@ -84,7 +84,7 @@ struct _PangoMatrix
/* for PangoRectangle */
#include <pango/pango-types.h>
-GType pango_matrix_get_type (void);
+GType pango_matrix_get_type (void) G_GNUC_CONST;
PangoMatrix *pango_matrix_copy (const PangoMatrix *matrix);
void pango_matrix_free (PangoMatrix *matrix);
@@ -109,7 +109,7 @@ void pango_matrix_transform_rectangle (const PangoMatrix *matrix,
PangoRectangle *rect);
void pango_matrix_transform_pixel_rectangle (const PangoMatrix *matrix,
PangoRectangle *rect);
-double pango_matrix_get_font_scale_factor (const PangoMatrix *matrix);
+double pango_matrix_get_font_scale_factor (const PangoMatrix *matrix) G_GNUC_PURE;
G_END_DECLS