comparison 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
comparison
equal deleted inserted replaced
6181:29fef9695c4d 6182:0342af6a8b36
118 g_free(core); 118 g_free(core);
119 119
120 _core = NULL; 120 _core = NULL;
121 } 121 }
122 122
123 void
124 gaim_core_mainloop_iteration(void)
125 {
126 g_main_context_iteration(g_main_context_default(), FALSE);
127 }
128
123 const char * 129 const char *
124 gaim_core_get_ui(void) 130 gaim_core_get_ui(void)
125 { 131 {
126 GaimCore *core = gaim_get_core(); 132 GaimCore *core = gaim_get_core();
127 133