X-Git-Url: http://git.jankratochvil.net/?a=blobdiff_plain;f=src%2Fclient%2Fbug-replay%2Fmain.c;h=2c4b5cf7039770ad1dcb89331640a8d9605d038e;hb=1e30dfebb2ccb5681e454ff987a8b8d6ae1525a0;hp=06cfa069ed71ddf26d5c5349ff4ab21c040fe647;hpb=e2c35c33bb4b261873b427271e6c29125826b736;p=captive.git diff --git a/src/client/bug-replay/main.c b/src/client/bug-replay/main.c index 06cfa06..2c4b5cf 100644 --- a/src/client/bug-replay/main.c +++ b/src/client/bug-replay/main.c @@ -29,6 +29,7 @@ #include /* for g_type_init() */ #include +#include #include #include #include @@ -97,12 +98,7 @@ GnomeVFSResult errgnomevfsresult; struct captive_libxml_string_drop_stack *drop_stack=NULL; const gchar *xml_object; - /* Prevent output block buffering if redirecting stdout to file. */ - setvbuf(stdout,(char *)NULL,_IONBF,0); - setvbuf(stderr,(char *)NULL,_IONBF,0); - - /* Initialize GObject subsystem of GLib. */ - g_type_init(); + captive_standalone_init(); captive_options_init(&options);