changeset 5732:37810936887e

[gaim-migrate @ 6156] Fixed truncation on the tooltip for Trepia. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 04 Jun 2003 04:54:01 +0000
parents 7cb2bbf03db5
children 4350b62bac45
files src/protocols/trepia/trepia.c
diffstat 1 files changed, 1 insertions(+), 24 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/trepia/trepia.c	Wed Jun 04 04:52:45 2003 +0000
+++ b/src/protocols/trepia/trepia.c	Wed Jun 04 04:54:01 2003 +0000
@@ -254,34 +254,11 @@
 		text = tmp2;
 	}
 
-	c = text + strlen(text);
-
-	if (*c == '\n')
-		*c = '\0';
+	text[strlen(text) - 1] = '\0';
 
 	return text;
 }
 
-static GList *
-trepia_away_states(GaimConnection *gc)
-{
-	GList *m = NULL;
-
-	return m;
-}
-
-static GList *
-trepia_actions(GaimConnection *gc)
-{
-	return NULL;
-}
-
-static GList *
-trepia_buddy_menu(GaimConnection *gc, const char *who)
-{
-	return NULL;
-}
-
 static void
 __free_parser_data(gpointer user_data)
 {