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.h36
1 files changed, 23 insertions, 13 deletions
diff --git a/pango/pango-utils.h b/pango/pango-utils.h
index 40100f6a..bb9a4621 100644
--- a/pango/pango-utils.h
+++ b/pango/pango-utils.h
@@ -28,38 +28,38 @@
G_BEGIN_DECLS
-G_DEPRECATED
+PANGO_DEPRECATED
char ** pango_split_file_list (const char *str);
-G_DEPRECATED
+PANGO_DEPRECATED
char *pango_trim_string (const char *str);
-G_DEPRECATED
+PANGO_DEPRECATED
gint pango_read_line (FILE *stream,
GString *str);
-G_DEPRECATED
+PANGO_DEPRECATED
gboolean pango_skip_space (const char **pos);
-G_DEPRECATED
+PANGO_DEPRECATED
gboolean pango_scan_word (const char **pos,
GString *out);
-G_DEPRECATED
+PANGO_DEPRECATED
gboolean pango_scan_string (const char **pos,
GString *out);
-G_DEPRECATED
+PANGO_DEPRECATED
gboolean pango_scan_int (const char **pos,
int *out);
#ifdef PANGO_ENABLE_BACKEND
-G_DEPRECATED
+PANGO_DEPRECATED_IN_1_38
char * pango_config_key_get_system (const char *key);
-G_DEPRECATED
+PANGO_DEPRECATED_IN_1_38
char * pango_config_key_get (const char *key);
-G_DEPRECATED
+PANGO_DEPRECATED_IN_1_32
void pango_lookup_aliases (const char *fontname,
char ***families,
int *n_families);
#endif /* PANGO_ENABLE_BACKEND */
-G_DEPRECATED
+PANGO_DEPRECATED
gboolean pango_parse_enum (GType type,
const char *str,
int *value,
@@ -73,15 +73,19 @@ gboolean pango_parse_enum (GType type,
* a warning is printed (with g_warning) if the string does not
* contain a valid value.
*/
+PANGO_AVAILABLE_IN_ALL
gboolean pango_parse_style (const char *str,
PangoStyle *style,
gboolean warn);
+PANGO_AVAILABLE_IN_ALL
gboolean pango_parse_variant (const char *str,
PangoVariant *variant,
gboolean warn);
+PANGO_AVAILABLE_IN_ALL
gboolean pango_parse_weight (const char *str,
PangoWeight *weight,
gboolean warn);
+PANGO_AVAILABLE_IN_ALL
gboolean pango_parse_stretch (const char *str,
PangoStretch *stretch,
gboolean warn);
@@ -94,25 +98,27 @@ gboolean pango_parse_stretch (const char *str,
* stored in the registry). The returned string should not be
* g_free'd.
*/
-G_DEPRECATED
+PANGO_DEPRECATED
const 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_DEPRECATED
+PANGO_DEPRECATED
const char * pango_get_lib_subdirectory (void) G_GNUC_PURE;
#endif /* PANGO_ENABLE_BACKEND */
/* Hint line position and thickness.
*/
+PANGO_AVAILABLE_IN_1_12
void pango_quantize_line_geometry (int *thickness,
int *position);
/* A routine from fribidi that we either wrap or provide ourselves.
*/
+PANGO_AVAILABLE_IN_1_4
guint8 * pango_log2vis_get_embedding_levels (const gchar *text,
int length,
PangoDirection *pbase_dir);
@@ -120,6 +126,7 @@ guint8 * pango_log2vis_get_embedding_levels (const gchar *text,
/* Unicode characters that are zero-width and should not be rendered
* normally.
*/
+PANGO_AVAILABLE_IN_1_10
gboolean pango_is_zero_width (gunichar ch) G_GNUC_CONST;
/* Pango version checking */
@@ -186,12 +193,15 @@ gboolean pango_is_zero_width (gunichar ch) G_GNUC_CONST;
/* Return encoded version of Pango at run-time */
+PANGO_AVAILABLE_IN_1_16
int pango_version (void) G_GNUC_CONST;
/* Return run-time Pango version as an string */
+PANGO_AVAILABLE_IN_1_16
const char * pango_version_string (void) G_GNUC_CONST;
/* Check that run-time Pango is as new as required */
+PANGO_AVAILABLE_IN_1_16
const char * pango_version_check (int required_major,
int required_minor,
int required_micro) G_GNUC_CONST;