# HG changeset patch # User Luke Schierer # Date 1034876415 0 # Node ID dadb43e0bcae7992a86b4658002705897a953c1c # Parent d85208a99af2c14e1f972c39b458d37e92fcdc50 [gaim-migrate @ 3864] fix some warnings in timestamp.c committer: Tailor Script diff -r d85208a99af2 -r dadb43e0bcae plugins/timestamp.c --- 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);