[gnome-builder/wip/libide] libide: initialize gtk for buffer tests



commit 7d99fc34aef5e4e518f5018a275efcded8d55771
Author: Christian Hergert <christian hergert me>
Date:   Wed Feb 25 19:29:04 2015 -0800

    libide: initialize gtk for buffer tests

 tests/test-ide-buffer-manager.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/tests/test-ide-buffer-manager.c b/tests/test-ide-buffer-manager.c
index bc7e5cf..2f482f1 100644
--- a/tests/test-ide-buffer-manager.c
+++ b/tests/test-ide-buffer-manager.c
@@ -186,6 +186,7 @@ gint
 main (gint   argc,
       gchar *argv[])
 {
+  gtk_init (&argc, &argv);
   g_test_init (&argc, &argv, NULL);
   g_test_add_func ("/Ide/BufferManager/basic", test_buffer_manager_basic);
   return g_test_run ();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]