+2008-03-13 Xan Lopez <xan@gnome.org>
+
+ * tests/dns.c: (main):
+ * tests/get.c: (main):
+ * tests/getbug.c: (main):
+ * tests/simple-httpd.c: (main):
+ * tests/simple-proxy.c: (main):
+ * tests/ssl-test.c: (main):
+ * tests/test-utils.c: (test_init):
+
+ g_thread_init should be called before any other glib function. (#522117)
+
2008-03-10 Dan Winship <danw@gnome.org>
* configure.in: 2.4.0!
if (argc < 2)
usage ();
- g_type_init ();
g_thread_init (NULL);
+ g_type_init ();
for (i = 1; i < argc; i++) {
addr = soup_address_new (argv[i], 0);
gboolean synchronous = FALSE;
int opt;
- g_type_init ();
g_thread_init (NULL);
+ g_type_init ();
method = SOUP_METHOD_GET;
const char *uri = "http://bugzilla.redhat.com/bugzilla/xmlrpc.cgi";
int opt, bug;
- g_type_init ();
g_thread_init (NULL);
+ g_type_init ();
while ((opt = getopt (argc, argv, "p:")) != -1) {
switch (opt) {
int ssl_port = SOUP_ADDRESS_ANY_PORT;
const char *ssl_cert_file = NULL, *ssl_key_file = NULL;
- g_type_init ();
g_thread_init (NULL);
+ g_type_init ();
signal (SIGINT, quit);
while ((opt = getopt (argc, argv, "p:k:c:s:")) != -1) {
int opt;
int port = SOUP_ADDRESS_ANY_PORT;
- g_type_init ();
g_thread_init (NULL);
+ g_type_init ();
signal (SIGINT, quit);
while ((opt = getopt (argc, argv, "p:s:")) != -1) {
SoupSocketIOStatus status;
GError *error = NULL;
- g_type_init ();
g_thread_init (NULL);
+ g_type_init ();
while ((opt = getopt (argc, argv, "c:d:k:")) != -1) {
switch (opt) {
char *name;
GError *error = NULL;
- g_type_init ();
g_thread_init (NULL);
+ g_type_init ();
name = strrchr (argv[0], '/');
if (!name++)