Mercurial > pidgin.yaz
comparison plugins/timestamp.c @ 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 | c6f92ece3097 |
children | 74d27aa5b686 |
comparison
equal
deleted
inserted
replaced
3726:d85208a99af2 | 3727:dadb43e0bcae |
---|---|
30 void timestamp_new_convo(char *name) | 30 void timestamp_new_convo(char *name) |
31 { | 31 { |
32 struct conversation *c = find_conversation(name); | 32 struct conversation *c = find_conversation(name); |
33 do_timestamp(c); | 33 do_timestamp(c); |
34 | 34 |
35 timestamp_timeouts = g_slist_append(timestamp_timeouts, GINT_TO_POINTER(gtk_timeout_add(TIMESTAMP_DELAY, do_timestamp, c))); | 35 timestamp_timeouts = g_slist_append(timestamp_timeouts, |
36 GINT_TO_POINTER(gtk_timeout_add(TIMESTAMP_DELAY, | |
37 (GtkFunction)do_timestamp, c))); | |
36 | 38 |
37 } | 39 } |
38 char *gaim_plugin_init(GModule *h) { | 40 char *gaim_plugin_init(GModule *h) { |
39 GList *cnvs = conversations; | 41 GList *cnvs = conversations; |
40 struct conversation *c; | 42 struct conversation *c; |
52 | 54 |
53 void gaim_plugin_remove() { | 55 void gaim_plugin_remove() { |
54 GSList *to; | 56 GSList *to; |
55 to = timestamp_timeouts; | 57 to = timestamp_timeouts; |
56 while (to) { | 58 while (to) { |
57 gtk_timeout_remove(to->data); | 59 gtk_timeout_remove(GPOINTER_TO_INT(to->data)); |
58 to = to->next; | 60 to = to->next; |
59 } | 61 } |
60 g_slist_free(timestamp_timeouts); | 62 g_slist_free(timestamp_timeouts); |
61 } | 63 } |
62 | 64 |