mirror of
https://github.com/irssi/irssi.git
synced 2025-04-26 04:51:11 -05:00
didn't compile without gc
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3103 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
144d9640a6
commit
4431f7c994
@ -378,7 +378,9 @@ int main(int argc, char **argv)
|
|||||||
/* Does the same as g_main_run(main_loop), except we
|
/* Does the same as g_main_run(main_loop), except we
|
||||||
can call our dirty-checker after each iteration */
|
can call our dirty-checker after each iteration */
|
||||||
while (!quitting) {
|
while (!quitting) {
|
||||||
|
#ifdef USE_GC
|
||||||
GC_collect_a_little();
|
GC_collect_a_little();
|
||||||
|
#endif
|
||||||
if (!dummy) term_refresh_freeze();
|
if (!dummy) term_refresh_freeze();
|
||||||
g_main_iteration(TRUE);
|
g_main_iteration(TRUE);
|
||||||
if (!dummy) term_refresh_thaw();
|
if (!dummy) term_refresh_thaw();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user