aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-10-26 19:07:44 +0800
committerChris Lahey <clahey@src.gnome.org>2001-10-26 19:07:44 +0800
commit22cd77900288e0bf974906e54583aa5306d2f7f8 (patch)
treeaf8578c06956bbd98ac19affe57ce859c5522a5b /widgets/misc
parent16f1b8e591bbafdca7965975776077e9c5b1eeb6 (diff)
downloadgsoc2013-evolution-22cd77900288e0bf974906e54583aa5306d2f7f8.tar
gsoc2013-evolution-22cd77900288e0bf974906e54583aa5306d2f7f8.tar.gz
gsoc2013-evolution-22cd77900288e0bf974906e54583aa5306d2f7f8.tar.bz2
gsoc2013-evolution-22cd77900288e0bf974906e54583aa5306d2f7f8.tar.lz
gsoc2013-evolution-22cd77900288e0bf974906e54583aa5306d2f7f8.tar.xz
gsoc2013-evolution-22cd77900288e0bf974906e54583aa5306d2f7f8.tar.zst
gsoc2013-evolution-22cd77900288e0bf974906e54583aa5306d2f7f8.zip
Fixed warnings here.
2001-10-26 Christopher James Lahey <clahey@ximian.com> * gal/util/e-iconv.c (e_iconv), gal/widgets/e-font.c (e_font_to_native), gal/widgets/e-unicode.c (e_utf8_from_iconv_string_sized, e_utf8_to_iconv_string_sized, e_utf8_from_gtk_string_sized, e_utf8_to_gtk_string_sized): Fixed warnings here. svn path=/trunk/; revision=14132
Diffstat (limited to 'widgets/misc')
-rw-r--r--widgets/misc/e-unicode.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/widgets/misc/e-unicode.c b/widgets/misc/e-unicode.c
index 871bb1e3b6..4bc5b6d0a8 100644
--- a/widgets/misc/e-unicode.c
+++ b/widgets/misc/e-unicode.c
@@ -216,7 +216,7 @@ gchar *
e_utf8_from_iconv_string_sized (iconv_t ic, const gchar *string, gint bytes)
{
char *new, *ob;
- gchar * ib;
+ const char *ib;
size_t ibl, obl;
if (!string) return NULL;
@@ -233,7 +233,7 @@ e_utf8_from_iconv_string_sized (iconv_t ic, const gchar *string, gint bytes)
return new;
}
- ib = (char *) string;
+ ib = string;
ibl = bytes;
new = ob = g_new (gchar, ibl * 6 + 1);
obl = ibl * 6 + 1;
@@ -274,7 +274,7 @@ gchar *
e_utf8_to_iconv_string_sized (iconv_t ic, const gchar *string, gint bytes)
{
char *new, *ob;
- gchar * ib;
+ const char *ib;
size_t ibl, obl;
if (!string) return NULL;
@@ -296,7 +296,7 @@ e_utf8_to_iconv_string_sized (iconv_t ic, const gchar *string, gint bytes)
return new;
}
- ib = (char *) string;
+ ib = string;
ibl = bytes;
new = ob = g_new (gchar, ibl * 4 + 1);
obl = ibl * 4 + 1;
@@ -382,7 +382,7 @@ e_utf8_from_gtk_string_sized (GtkWidget *widget, const gchar *string, gint bytes
{
iconv_t ic;
char *new, *ob;
- gchar * ib;
+ const char *ib;
size_t ibl, obl;
g_return_val_if_fail (widget != NULL, NULL);
@@ -422,7 +422,7 @@ e_utf8_from_gtk_string_sized (GtkWidget *widget, const gchar *string, gint bytes
}
}
- ib = (char *) string;
+ ib = string;
ibl = bytes;
new = ob = g_new (gchar, ibl * 6 + 1);
obl = ibl * 6 + 1;
@@ -466,7 +466,7 @@ e_utf8_to_gtk_string_sized (GtkWidget *widget, const gchar *string, gint bytes)
{
iconv_t ic;
char *new, *ob;
- gchar * ib;
+ const char *ib;
size_t ibl, obl;
if (!string) return NULL;
@@ -500,7 +500,7 @@ e_utf8_to_gtk_string_sized (GtkWidget *widget, const gchar *string, gint bytes)
return new;
}
- ib = (char *) string;
+ ib = string;
ibl = bytes;
new = ob = g_new (gchar, ibl * 4 + 1);
obl = ibl * 4 + 1;