[vte] [unistr] _vte_unistr_len()
- From: Behdad Esfahbod <behdad src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vte] [unistr] _vte_unistr_len()
- Date: Wed, 16 Sep 2009 02:23:27 +0000 (UTC)
commit f13c3b9f061d50b18475fdf05b54877031037b35
Author: Behdad Esfahbod <behdad behdad org>
Date: Tue Sep 15 13:46:06 2009 -0400
[unistr] _vte_unistr_len()
src/vteunistr.c | 4 +---
src/vteunistr.h | 2 --
2 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/src/vteunistr.c b/src/vteunistr.c
index 4d5c313..435371f 100644
--- a/src/vteunistr.c
+++ b/src/vteunistr.c
@@ -78,8 +78,6 @@
#define VTE_UNISTR_START 0x80000000
-static int _vte_unistr_strlen (vteunistr s);
-
static vteunistr unistr_next = VTE_UNISTR_START + 1;
struct VteUnistrDecomp {
@@ -164,7 +162,7 @@ _vte_unistr_append_to_string (vteunistr s, GString *gs)
g_string_append_unichar (gs, (gunichar) s);
}
-static int
+int
_vte_unistr_strlen (vteunistr s)
{
int len = 1;
diff --git a/src/vteunistr.h b/src/vteunistr.h
index f8b7bf7..3c22bee 100644
--- a/src/vteunistr.h
+++ b/src/vteunistr.h
@@ -71,7 +71,6 @@ _vte_unistr_get_base (vteunistr s);
void
_vte_unistr_append_to_string (vteunistr s, GString *gs);
-#if 0 /* unused */
/**
* _vte_unistr_strlen:
* @s: a #vteunistr
@@ -82,7 +81,6 @@ _vte_unistr_append_to_string (vteunistr s, GString *gs);
**/
int
_vte_unistr_strlen (vteunistr s);
-#endif
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]