diff src/core.c @ 6182:0342af6a8b36

[gaim-migrate @ 6668] Added a function for causing one iteration through the "gaim mainloop," which is just a nice abstractive (?) way of causing one iteration through the glib mainloop. All non-glib/gtk UIs must call this in a timer or somewhere. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 17 Jul 2003 22:09:31 +0000
parents 16e384bb7fbf
children f78a42ef3101
line wrap: on
line diff
--- a/src/core.c	Thu Jul 17 20:49:40 2003 +0000
+++ b/src/core.c	Thu Jul 17 22:09:31 2003 +0000
@@ -120,6 +120,12 @@
 	_core = NULL;
 }
 
+void
+gaim_core_mainloop_iteration(void)
+{
+	g_main_context_iteration(g_main_context_default(), FALSE);
+}
+
 const char *
 gaim_core_get_ui(void)
 {