summaryrefslogtreecommitdiff
path: root/pango/pango-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'pango/pango-utils.h')
-rw-r--r--pango/pango-utils.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/pango/pango-utils.h b/pango/pango-utils.h
index f44f2b55..41a8bbb0 100644
--- a/pango/pango-utils.h
+++ b/pango/pango-utils.h
@@ -82,13 +82,13 @@ gboolean pango_parse_stretch (const char *str,
* stored in the registry). The returned string should not be
* g_free'd.
*/
-G_CONST_RETURN char * pango_get_sysconf_subdirectory (void);
+G_CONST_RETURN char * pango_get_sysconf_subdirectory (void) G_GNUC_PURE;
/* Ditto for LIBDIR/pango. On Win32, use the same Pango
* installation directory. This returned string should not be
* g_free'd either.
*/
-G_CONST_RETURN char * pango_get_lib_subdirectory (void);
+G_CONST_RETURN char * pango_get_lib_subdirectory (void) G_GNUC_PURE;
#endif /* PANGO_ENABLE_BACKEND */
@@ -131,12 +131,12 @@ gboolean pango_is_zero_width (gunichar ch) G_GNUC_CONST;
int pango_version (void) G_GNUC_CONST;
/* Return run-time Pango version as an string */
-G_CONST_RETURN char * pango_version_string (void);
+G_CONST_RETURN char * pango_version_string (void) G_GNUC_CONST;
/* Check that run-time Pango is as new as required */
G_CONST_RETURN char * pango_version_check (int required_major,
int required_minor,
- int required_micro);
+ int required_micro) G_GNUC_CONST;
G_END_DECLS