Mercurial > pidgin
changeset 3727:dadb43e0bcae
[gaim-migrate @ 3864]
fix some warnings in timestamp.c
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 17 Oct 2002 17:40:15 +0000 |
parents | d85208a99af2 |
children | 73e06ba29015 |
files | plugins/timestamp.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/timestamp.c Thu Oct 17 16:25:54 2002 +0000 +++ b/plugins/timestamp.c Thu Oct 17 17:40:15 2002 +0000 @@ -32,7 +32,9 @@ struct conversation *c = find_conversation(name); do_timestamp(c); - timestamp_timeouts = g_slist_append(timestamp_timeouts, GINT_TO_POINTER(gtk_timeout_add(TIMESTAMP_DELAY, do_timestamp, c))); + timestamp_timeouts = g_slist_append(timestamp_timeouts, + GINT_TO_POINTER(gtk_timeout_add(TIMESTAMP_DELAY, + (GtkFunction)do_timestamp, c))); } char *gaim_plugin_init(GModule *h) { @@ -54,7 +56,7 @@ GSList *to; to = timestamp_timeouts; while (to) { - gtk_timeout_remove(to->data); + gtk_timeout_remove(GPOINTER_TO_INT(to->data)); to = to->next; } g_slist_free(timestamp_timeouts);