[libpeas] Don't save and restore stdout and stderror in construct-only test



commit d321fdd1d39d1b15b008ce884ea8a5d0fbc8546e
Author: Garrett Regier <alias301 gmail com>
Date:   Mon Mar 7 01:42:34 2011 -0800

    Don't save and restore stdout and stderror in construct-only test
    
    This trick was not meant to be commited.

 tests/libpeas/testing/testing-extension.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/tests/libpeas/testing/testing-extension.c b/tests/libpeas/testing/testing-extension.c
index fa9811c..9b29761 100644
--- a/tests/libpeas/testing/testing-extension.c
+++ b/tests/libpeas/testing/testing-extension.c
@@ -347,14 +347,8 @@ testing_extension_properties_construct_only_ (PeasEngine *engine)
 
   info = peas_engine_get_plugin_info (engine, extension_plugin);
 
-  FILE *saved_stdout = stdout;
-  FILE *saved_stderr = stderr;
-
   g_assert (peas_engine_load_plugin (engine, info));
 
-  stdout = saved_stdout;
-  stderr = saved_stderr;
-
   extension = peas_engine_create_extension (engine, info,
                                             INTROSPECTION_TYPE_PROPERTIES,
                                             "construct-only", "my-construct-only",



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