[gtksourceview/wip/chergert/gsv-gtk4: 154/197] testsuite: remove deprecated gtk_main API usage
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/chergert/gsv-gtk4: 154/197] testsuite: remove deprecated gtk_main API usage
- Date: Tue, 2 Jun 2020 18:49:59 +0000 (UTC)
commit 84b2ce13cdd0d43352d4455f9a2413801e3fd812
Author: Christian Hergert <chergert redhat com>
Date: Mon Mar 16 15:23:29 2020 -0700
testsuite: remove deprecated gtk_main API usage
testsuite/test-buffer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/testsuite/test-buffer.c b/testsuite/test-buffer.c
index fa3fe017..44bce205 100644
--- a/testsuite/test-buffer.c
+++ b/testsuite/test-buffer.c
@@ -33,9 +33,9 @@ static const char *c_snippet =
static void
flush_queue (void)
{
- while (gtk_events_pending ())
+ while (g_main_context_pending (NULL))
{
- gtk_main_iteration ();
+ g_main_context_iteration (NULL, FALSE);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]