changeset 10870:b75ce371c812

[gaim-migrate @ 12557] Elimidate a parameter that shouldn't-a-been there committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 25 Apr 2005 04:03:16 +0000
parents 3e43c132f151
children 6240d7fd5b2c
files src/protocols/toc/toc.c src/prpl.c src/prpl.h
diffstat 3 files changed, 3 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/toc/toc.c	Mon Apr 25 03:55:11 2005 +0000
+++ b/src/protocols/toc/toc.c	Mon Apr 25 04:03:16 2005 +0000
@@ -860,7 +860,7 @@
 			gaim_connection_set_display_name(gc, c);
 			/* XXX - What should the second parameter be here? */
 			gaim_prpl_got_account_warning_level(account, NULL, evil);
-			gaim_prpl_got_account_login_time(account, NULL, signon);
+			gaim_prpl_got_account_login_time(account, signon);
 		}
 		g_free(tmp);
 
--- a/src/prpl.c	Mon Apr 25 03:55:11 2005 +0000
+++ b/src/prpl.c	Mon Apr 25 04:03:16 2005 +0000
@@ -43,13 +43,11 @@
 }
 
 void
-gaim_prpl_got_account_login_time(GaimAccount *account, const char *name,
-		time_t login_time)
+gaim_prpl_got_account_login_time(GaimAccount *account, time_t login_time)
 {
 	GaimPresence *presence;
 
 	g_return_if_fail(account != NULL);
-	g_return_if_fail(name != NULL && *name != '\0');
 	g_return_if_fail(gaim_account_is_connected(account));
 
 	if (login_time == 0)
--- a/src/prpl.h	Mon Apr 25 03:55:11 2005 +0000
+++ b/src/prpl.h	Mon Apr 25 04:03:16 2005 +0000
@@ -325,11 +325,9 @@
  * This is meant to be called from protocol plugins.
  *
  * @param account    The account the user is on.
- * @param name       Name of the user.
  * @param login_time The user's log-in time.
  */
-void gaim_prpl_got_account_login_time(GaimAccount *account, const char *name,
-									  time_t login_time);
+void gaim_prpl_got_account_login_time(GaimAccount *account, time_t login_time);
 
 /**
  * Notifies Gaim that an account's status has changed.