gnome-terminal r2629 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r2629 - trunk/src
- Date: Thu, 29 May 2008 19:40:04 +0000 (UTC)
Author: chpe
Date: Thu May 29 19:40:04 2008
New Revision: 2629
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2629&view=rev
Log:
Remove unused function.
Modified:
trunk/src/encoding.c
trunk/src/encoding.h
Modified: trunk/src/encoding.c
==============================================================================
--- trunk/src/encoding.c (original)
+++ trunk/src/encoding.c Thu May 29 19:40:04 2008
@@ -1050,15 +1050,3 @@
g_object_unref (conf);
}
-
-char*
-terminal_encoding_get_name (const char *charset)
-{
- const TerminalEncoding *e;
-
- e = find_encoding_by_charset (charset);
- if (e != NULL)
- return g_strdup_printf ("%s (%s)", e->name, e->charset);
- else
- return g_strdup (charset);
-}
Modified: trunk/src/encoding.h
==============================================================================
--- trunk/src/encoding.h (original)
+++ trunk/src/encoding.h Thu May 29 19:40:04 2008
@@ -41,8 +41,6 @@
GSList* terminal_get_active_encodings (void);
-char* terminal_encoding_get_name (const char *charset);
-
TerminalEncoding* terminal_encoding_ref (TerminalEncoding *encoding);
void terminal_encoding_unref (TerminalEncoding *encoding);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]