From bdad30b2d9111a5c86edeabf811481469ef0f8b4 Mon Sep 17 00:00:00 2001 From: David Date: Sun, 13 Mar 2016 17:52:49 +0100 Subject: This case was clearly not tested locally, so many failures here. I guess now this should be fine, at least for the no gui case. Locally it is working fine btw. I miss Gerrit and the ability to test before pushing right now... :'( --- src/profanity.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/profanity.c b/src/profanity.c index 44ca90bd..50f564c7 100644 --- a/src/profanity.c +++ b/src/profanity.c @@ -137,7 +137,9 @@ prof_run(char *log_level, char *account_name, gboolean use_gtk) jabber_process_events(10); iq_autoping_check(); ui_update(); - gtk_main_iteration_do(false); + if (gtk_enabled) { + gtk_main_iteration_do(false); + } } } -- cgit 1.4.1-2-gfad0