diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2005-10-03 03:21:47 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2005-10-03 03:21:47 +0000 |
commit | d77222e7676e0a2dbdab7dff1b0d4a0e00e6ad67 (patch) | |
tree | 46571e095a09f7b3a2235039fd94e82248735278 /pango | |
parent | 36af7cde0f6012925d4171d0f973d18a0abb5ee7 (diff) | |
download | pango-d77222e7676e0a2dbdab7dff1b0d4a0e00e6ad67.tar.gz |
Add const to gchar * members of structs. Shuts up gcc warnings. (#317676)
2005-10-02 Behdad Esfahbod <behdad@gnome.org>
* pango/pango-engine.h: Add const to gchar * members of structs.
Shuts up gcc warnings. (#317676)
Diffstat (limited to 'pango')
-rw-r--r-- | pango/pango-engine.h | 8 |
1 files changed, 4 insertions, 4 deletions
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; }; |