aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2001-01-09 05:36:41 +0800
committerChris Lahey <clahey@src.gnome.org>2001-01-09 05:36:41 +0800
commit903d188a7beaa83d9055655275d5e8468718f150 (patch)
tree58f657de19e58f07345345bd1dc3de1940da9ae0
parent4f99d6ae5fc6ac4442a3b9a6712c194d9d6f9ff0 (diff)
downloadgsoc2013-evolution-903d188a7beaa83d9055655275d5e8468718f150.tar
gsoc2013-evolution-903d188a7beaa83d9055655275d5e8468718f150.tar.gz
gsoc2013-evolution-903d188a7beaa83d9055655275d5e8468718f150.tar.bz2
gsoc2013-evolution-903d188a7beaa83d9055655275d5e8468718f150.tar.lz
gsoc2013-evolution-903d188a7beaa83d9055655275d5e8468718f150.tar.xz
gsoc2013-evolution-903d188a7beaa83d9055655275d5e8468718f150.tar.zst
gsoc2013-evolution-903d188a7beaa83d9055655275d5e8468718f150.zip
Removed an unused variable. (e_utf8_from_gtk_string_sized): Made ib const
2001-01-06 Christopher James Lahey <clahey@helixcode.com> * gal/widgets/e-unicode.c (e_utf8_xml1_decode): Removed an unused variable. (e_utf8_from_gtk_string_sized): Made ib const here. svn path=/trunk/; revision=7307
-rw-r--r--widgets/misc/e-unicode.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/widgets/misc/e-unicode.c b/widgets/misc/e-unicode.c
index 596bc0af1f..a74ec7527a 100644
--- a/widgets/misc/e-unicode.c
+++ b/widgets/misc/e-unicode.c
@@ -221,7 +221,8 @@ e_utf8_from_gtk_string_sized (GtkWidget *widget, const gchar *string, gint bytes
xfs = GDK_FONT_XFONT (widget->style->font);
if (widget->style->font->type == GDK_FONT_FONTSET || ((xfs->min_byte1 != 0) || (xfs->max_byte1 != 0))) {
gint i;
- guchar * ib, * ob, * new;
+ const guchar *ib;
+ guchar * ob, * new;
/* iso-10646 */
ib = string;
new = ob = g_new (unsigned char, bytes * 6 + 1);
@@ -476,7 +477,7 @@ e_utf8_xml1_decode (const gchar *text)
{
const guchar *c;
guchar *u, *d;
- int len, s, e;
+ int len, s;
g_return_val_if_fail (text != NULL, NULL);