Mercurial > pidgin
comparison src/prefs.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 | 63c7a16a2c09 |
children | ef881489396e |
comparison
equal
deleted
inserted
replaced
8272:9af78e73f0b2 | 8273:f24172f53650 |
---|---|
77 return FALSE; | 77 return FALSE; |
78 } | 78 } |
79 | 79 |
80 static void schedule_prefs_save() { | 80 static void schedule_prefs_save() { |
81 if(!prefs_save_timer) | 81 if(!prefs_save_timer) |
82 prefs_save_timer = g_timeout_add(5000, prefs_save_callback, NULL); | 82 prefs_save_timer = gaim_timeout_add(5000, prefs_save_callback, NULL); |
83 } | 83 } |
84 | 84 |
85 static void prefs_save_cb(const char *name, GaimPrefType type, gpointer val, | 85 static void prefs_save_cb(const char *name, GaimPrefType type, gpointer val, |
86 gpointer user_data) { | 86 gpointer user_data) { |
87 | 87 |