search for: g_main_loop_is_running

Displaying 2 results from an estimated 2 matches for "g_main_loop_is_running".

2007 Aug 02
1
player/swfplay.c
player/swfplay.c | 36 +++++++++++++++++++++++++----------- 1 files changed, 25 insertions(+), 11 deletions(-) New commits: diff-tree ba4f1da69d0c74c45b0b4d92330f2203d258bb49 (from 3398ec3ae1d036d76054f7ddec170dc158e47079) Author: Benjamin Otte <otte at gnome.org> Date: Thu Aug 2 11:54:25 2007 +0200 make swfplay open normal files again and not require complete URLs diff --git
2007 Oct 12
0
2 commits - player/swfplay.c test/trace
...diff --git a/player/swfplay.c b/player/swfplay.c index 4b9cf03..f9b2fb3 100644 --- a/player/swfplay.c +++ b/player/swfplay.c @@ -65,7 +65,10 @@ do_fscommand (SwfdecPlayer *player, cons { if (g_str_equal (command, "quit")) { g_assert (loop); - g_main_loop_quit (loop); + if (g_main_loop_is_running (loop)) { + gtk_widget_destroy (window); + g_main_loop_quit (loop); + } } /* FIXME: add more */ }