Mercurial > pidgin
diff src/protocols/zephyr/zephyr.c @ 2131:acc11216ec5d
[gaim-migrate @ 2141]
changing some gtk_timeout stuff to g_timeout (since it's likely that these will be used in core rather than gtk-ui). also fixed a small buddy pounce bug.
committer: Tailor Script <tailor@pidgin.im>
| author | Eric Warmenhoven <eric@warmenhoven.org> |
|---|---|
| date | Mon, 06 Aug 2001 23:38:48 +0000 |
| parents | 56c4382f2909 |
| children | 18722ae5b882 |
line wrap: on
line diff
--- a/src/protocols/zephyr/zephyr.c Mon Aug 06 21:47:17 2001 +0000 +++ b/src/protocols/zephyr/zephyr.c Mon Aug 06 23:38:48 2001 +0000 @@ -584,8 +584,8 @@ process_anyone(); process_zsubs(); - nottimer = gtk_timeout_add(100, check_notify, NULL); - loctimer = gtk_timeout_add(2000, check_loc, NULL); + nottimer = g_timeout_add(100, check_notify, NULL); + loctimer = g_timeout_add(2000, check_loc, NULL); } static void write_zsubs() @@ -669,10 +669,10 @@ g_slist_free(subscrips); if (nottimer) - gtk_timeout_remove(nottimer); + g_source_remove(nottimer); nottimer = 0; if (loctimer) - gtk_timeout_remove(loctimer); + g_source_remove(loctimer); loctimer = 0; zgc = NULL; z_call(ZCancelSubscriptions(0));
