From d77222e7676e0a2dbdab7dff1b0d4a0e00e6ad67 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 3 Oct 2005 03:21:47 +0000 Subject: Add const to gchar * members of structs. Shuts up gcc warnings. (#317676) 2005-10-02 Behdad Esfahbod * pango/pango-engine.h: Add const to gchar * members of structs. Shuts up gcc warnings. (#317676) --- pango/pango-engine.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pango/pango-engine.h') diff --git a/pango/pango-engine.h b/pango/pango-engine.h index 4ac29739..fcac62b8 100644 --- a/pango/pango-engine.h +++ b/pango/pango-engine.h @@ -197,14 +197,14 @@ typedef struct _PangoEngineScriptInfo PangoEngineScriptInfo; struct _PangoEngineScriptInfo { PangoScript script; - gchar *langs; + const gchar *langs; }; struct _PangoEngineInfo { - gchar *id; - gchar *engine_type; - gchar *render_type; + const gchar *id; + const gchar *engine_type; + const gchar *render_type; PangoEngineScriptInfo *scripts; gint n_scripts; }; -- cgit v1.2.1