Integrate static packaing into the CVS HEAD; make it even default.
[captive.git] / src / client / bug-replay / main.c
index 06cfa06..2c4b5cf 100644 (file)
@@ -29,6 +29,7 @@
 #include <glib-object.h>       /* for g_type_init() */
 #include <glib/ghash.h>
 
+#include <captive/client.h>
 #include <captive/libxml.h>
 #include <captive/options.h>
 #include <captive/macros.h>
@@ -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);