Mercurial > pidgin.yaz
comparison src/prpl.c @ 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 | 0ad82505bde8 |
children | 90be432e8385 |
comparison
equal
deleted
inserted
replaced
10869:3e43c132f151 | 10870:b75ce371c812 |
---|---|
41 gaim_presence_set_idle(gaim_account_get_presence(account), | 41 gaim_presence_set_idle(gaim_account_get_presence(account), |
42 idle, idle_time); | 42 idle, idle_time); |
43 } | 43 } |
44 | 44 |
45 void | 45 void |
46 gaim_prpl_got_account_login_time(GaimAccount *account, const char *name, | 46 gaim_prpl_got_account_login_time(GaimAccount *account, time_t login_time) |
47 time_t login_time) | |
48 { | 47 { |
49 GaimPresence *presence; | 48 GaimPresence *presence; |
50 | 49 |
51 g_return_if_fail(account != NULL); | 50 g_return_if_fail(account != NULL); |
52 g_return_if_fail(name != NULL && *name != '\0'); | |
53 g_return_if_fail(gaim_account_is_connected(account)); | 51 g_return_if_fail(gaim_account_is_connected(account)); |
54 | 52 |
55 if (login_time == 0) | 53 if (login_time == 0) |
56 login_time = time(NULL); | 54 login_time = time(NULL); |
57 | 55 |