src/core.c

changeset 8273
7882af5843e9
parent 8235
00045afab151
child 9633
52d87acba1d1
equal deleted inserted replaced
8272:c1e38e0ec1d5 8273:7882af5843e9
157 gaim_core_get_version(void) 157 gaim_core_get_version(void)
158 { 158 {
159 return VERSION; 159 return VERSION;
160 } 160 }
161 161
162 gboolean
163 gaim_core_mainloop_events_pending(void)
164 {
165 return g_main_context_pending(g_main_context_default());
166 }
167
168 void
169 gaim_core_mainloop_iteration(void)
170 {
171 g_main_context_iteration(g_main_context_default(), FALSE);
172 }
173
174 void
175 gaim_core_mainloop_finish_events(void)
176 {
177 while (gaim_core_mainloop_events_pending())
178 gaim_core_mainloop_iteration();
179 }
180
181 const char * 162 const char *
182 gaim_core_get_ui(void) 163 gaim_core_get_ui(void)
183 { 164 {
184 GaimCore *core = gaim_get_core(); 165 GaimCore *core = gaim_get_core();
185 166

mercurial