comparison src/gaim-disclosure.c @ 8273:f24172f53650

[gaim-migrate @ 8997] This is Scott Lamb's eventloop abstraction patch. If it breaks things, Scott Lamb will be glad to take the punishment. If it doesn't, it should make integration into other event loops easier. Well, no, not easier, harder actually, but it'll be done more appropriately and less hackily.. er, hacky. Is hackily a word? committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 17 Feb 2004 02:17:48 +0000
parents fa6395637e2c
children ef881489396e
comparison
equal deleted inserted replaced
8272:9af78e73f0b2 8273:f24172f53650
190 if (disclosure->priv->expand_id > 0) { 190 if (disclosure->priv->expand_id > 0) {
191 g_source_remove(disclosure->priv->expand_id); 191 g_source_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 = g_timeout_add (50, expand_collapse_timeout, disclosure); 195 disclosure->priv->expand_id = gaim_timeout_add (50, expand_collapse_timeout, disclosure);
196 } 196 }
197 197
198 static void 198 static void
199 toggled (GtkToggleButton *tb) 199 toggled (GtkToggleButton *tb)
200 { 200 {