comparison src/gaim-disclosure.c @ 8287:ef881489396e

[gaim-migrate @ 9011] Another patch from Scott Lamb to change g_source_remove calls to gaim_timeout_remove. It also implements gaim_timeout_remove. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 18 Feb 2004 07:43:21 +0000
parents f24172f53650
children
comparison
equal deleted inserted replaced
8286:89d9d004e3f3 8287:ef881489396e
186 static void 186 static void
187 do_animation (GaimDisclosure *disclosure, 187 do_animation (GaimDisclosure *disclosure,
188 gboolean opening) 188 gboolean opening)
189 { 189 {
190 if (disclosure->priv->expand_id > 0) { 190 if (disclosure->priv->expand_id > 0) {
191 g_source_remove(disclosure->priv->expand_id); 191 gaim_timeout_remove(disclosure->priv->expand_id);
192 } 192 }
193 193
194 disclosure->priv->direction = opening ? 1 : -1; 194 disclosure->priv->direction = opening ? 1 : -1;
195 disclosure->priv->expand_id = gaim_timeout_add (50, expand_collapse_timeout, disclosure); 195 disclosure->priv->expand_id = gaim_timeout_add (50, expand_collapse_timeout, disclosure);
196 } 196 }