[gedit] Fix unit tests.



commit 771ea2c310e9c45248322c9f29ebcedf667a7495
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sat May 8 12:52:45 2010 +0200

    Fix unit tests.

 tests/document-loader.c        |    2 --
 tests/document-output-stream.c |    2 --
 tests/document-saver.c         |    2 --
 3 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/tests/document-loader.c b/tests/document-loader.c
index e669e27..73831ab 100644
--- a/tests/document-loader.c
+++ b/tests/document-loader.c
@@ -237,8 +237,6 @@ int main (int   argc,
 	g_type_init ();
 	g_test_init (&argc, &argv, NULL);
 
-	gedit_prefs_manager_app_init ();
-
 	g_test_add_func ("/document-loader/end-line-stripping", test_end_line_stripping);
 	g_test_add_func ("/document-loader/end-new-line-detection", test_end_new_line_detection);
 	g_test_add_func ("/document-loader/begin-new-line-detection", test_begin_new_line_detection);
diff --git a/tests/document-output-stream.c b/tests/document-output-stream.c
index faa5925..57d42c6 100644
--- a/tests/document-output-stream.c
+++ b/tests/document-output-stream.c
@@ -122,8 +122,6 @@ int main (int   argc,
 	g_type_init ();
 	g_test_init (&argc, &argv, NULL);
 
-	gedit_prefs_manager_app_init ();
-
 	g_test_add_func ("/document-output-stream/empty", test_empty);
 
 	g_test_add_func ("/document-output-stream/consecutive", test_consecutive);
diff --git a/tests/document-saver.c b/tests/document-saver.c
index 083a496..070fcb0 100644
--- a/tests/document-saver.c
+++ b/tests/document-saver.c
@@ -688,8 +688,6 @@ int main (int   argc,
 	g_type_init ();
 	g_test_init (&argc, &argv, NULL);
 
-	gedit_prefs_manager_app_init ();
-
 	g_printf ("\n***\n");
 	have_unowned = check_unowned_directory ();
 	have_unowned_group = check_unowned_group ();



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