summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2005-10-03 03:21:47 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2005-10-03 03:21:47 +0000
commitd77222e7676e0a2dbdab7dff1b0d4a0e00e6ad67 (patch)
tree46571e095a09f7b3a2235039fd94e82248735278 /pango
parent36af7cde0f6012925d4171d0f973d18a0abb5ee7 (diff)
downloadpango-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.h8
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;
};