diff options
author | David <petrodavi@gmail.com> | 2016-03-13 17:52:49 +0100 |
---|---|---|
committer | David <petrodavi@gmail.com> | 2016-03-13 17:52:49 +0100 |
commit | bdad30b2d9111a5c86edeabf811481469ef0f8b4 (patch) | |
tree | 292f3389b81a075b3c2ef772f32479c806f1b067 /src/profanity.c | |
parent | 028d24283ecf601af925224d71731f3cdfb32a02 (diff) | |
download | profani-tty-bdad30b2d9111a5c86edeabf811481469ef0f8b4.tar.gz |
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... :'(
Diffstat (limited to 'src/profanity.c')
-rw-r--r-- | src/profanity.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); + } } } |