diff options
author | Mariano Suárez-Alvarez <mariano@gnome.org> | 2006-11-16 19:46:01 +0000 |
---|---|---|
committer | Mariano Suárez-Alvarez <mariano@src.gnome.org> | 2006-11-16 19:46:01 +0000 |
commit | 43b1051c010848db001ccc668d39f7b5169f33ea (patch) | |
tree | 9d46f90a634bbcd630a14747bb03374b37ed6ac1 /src/matcher.h | |
parent | 133c9933b89f3f964d9b844a408a7044f76fb51a (diff) | |
download | vte-43b1051c010848db001ccc668d39f7b5169f33ea.tar.gz |
Bug 356602 – const cast warning fixes for libvte Patch by Ryan Lortie
2006-11-16 Mariano Suárez-Alvarez <mariano@gnome.org>
Bug 356602 – const cast warning fixes for libvte
Patch by Ryan Lortie (desrt)
* src/matcher.h: Use const char * where appropriate.
* src/matcher.c: Use const char * where appropriate. Cast g_strdup
to (GCacheDupFunc) to avoid a warning.
* src/vtetc.h: Use const char * where appropriate.
* src/vtetc.c: Use const char * where appropriate. Cast g_strdup
to (GCacheDupFunc) to avoid a warning.
* src/vte.c: Use const char * where appropriate.
Diffstat (limited to 'src/matcher.h')
-rw-r--r-- | src/matcher.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/matcher.h b/src/matcher.h index 5b0d96fd..95bab566 100644 --- a/src/matcher.h +++ b/src/matcher.h @@ -30,7 +30,7 @@ G_BEGIN_DECLS struct _vte_matcher; /* Create and init matcher. */ -struct _vte_matcher *_vte_matcher_new(char *emulation, +struct _vte_matcher *_vte_matcher_new(const char *emulation, struct _vte_termcap *termcap); /* Free a matcher. */ |