diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-10-26 15:50:46 -0400 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-10-26 15:50:46 -0400 |
commit | 56887b2ba1a249668ef246a3418802a076a655d5 (patch) | |
tree | 146aaf82a6b96179b5ac6f608ea71cce6ca20e59 | |
parent | 9da810f26b244f12210d4d04ee8e3a0482b77fa9 (diff) | |
download | evolution-data-server-56887b2ba1a249668ef246a3418802a076a655d5.tar.gz |
Remove g_thread_init() calls.
g_type_init() already calls it, and has for several GLib releases.
-rw-r--r-- | addressbook/libedata-book/e-book-backend-sqlitedb-test.c | 1 | ||||
-rw-r--r-- | calendar/backends/file/e-cal-backend-file.c | 1 | ||||
-rw-r--r-- | camel/camel-index-control.c | 1 | ||||
-rw-r--r-- | camel/camel-text-index.c | 1 | ||||
-rw-r--r-- | camel/providers/imapx/test-imapx.c | 1 | ||||
-rw-r--r-- | camel/tests/lib/camel-test.c | 2 | ||||
-rw-r--r-- | tests/libebook/client/client-test-utils.c | 1 | ||||
-rw-r--r-- | tests/libecal/client/client-test-utils.c | 1 | ||||
-rw-r--r-- | tests/libedataserverui/test-client-examine-auth.c | 2 | ||||
-rw-r--r-- | tests/libedataserverui/test-name-selector.c | 1 |
10 files changed, 0 insertions, 12 deletions
diff --git a/addressbook/libedata-book/e-book-backend-sqlitedb-test.c b/addressbook/libedata-book/e-book-backend-sqlitedb-test.c index df39af2dd..252526813 100644 --- a/addressbook/libedata-book/e-book-backend-sqlitedb-test.c +++ b/addressbook/libedata-book/e-book-backend-sqlitedb-test.c @@ -197,7 +197,6 @@ main (gint argc, gchar *argv[]) { g_type_init (); - g_thread_init (NULL); if (argc != 2) { g_print ("Please enter a path to store the cache \n"); diff --git a/calendar/backends/file/e-cal-backend-file.c b/calendar/backends/file/e-cal-backend-file.c index ba1fcf074..ebcd8f495 100644 --- a/calendar/backends/file/e-cal-backend-file.c +++ b/calendar/backends/file/e-cal-backend-file.c @@ -3800,7 +3800,6 @@ main (gint argc, FILE * fin = NULL; g_type_init (); - g_thread_init (NULL); context = g_option_context_new ("- test utility for e-d-s file backend"); g_option_context_add_main_entries (context, entries, GETTEXT_PACKAGE); diff --git a/camel/camel-index-control.c b/camel/camel-index-control.c index 87ae76011..01917544c 100644 --- a/camel/camel-index-control.c +++ b/camel/camel-index-control.c @@ -127,7 +127,6 @@ gint main (gint argc, gchar **argv) if (argc < 2) do_usage (argv[0]); - g_thread_init (NULL); camel_init (NULL, 0); if (!strcmp(argv[1], "compress")) diff --git a/camel/camel-text-index.c b/camel/camel-text-index.c index 563a3328f..d9a6b2f6e 100644 --- a/camel/camel-text-index.c +++ b/camel/camel-text-index.c @@ -1862,7 +1862,6 @@ main (gint argc, printf ("Camel text index tester!\n"); - g_thread_init (NULL); camel_init (NULL, 0); idx = (CamelIndex *)camel_text_index_new ("textindex", O_CREAT|O_RDWR|O_TRUNC); diff --git a/camel/providers/imapx/test-imapx.c b/camel/providers/imapx/test-imapx.c index fe71d1c3f..79e339223 100644 --- a/camel/providers/imapx/test-imapx.c +++ b/camel/providers/imapx/test-imapx.c @@ -36,7 +36,6 @@ main (gint argc, } uri = argv[1]; - g_thread_init (NULL); system ("rm -rf /tmp/test-camel-imapx"); camel_init ("/tmp/test-camel-imapx", TRUE); camel_provider_init (); diff --git a/camel/tests/lib/camel-test.c b/camel/tests/lib/camel-test.c index 16caf7922..050ef31e3 100644 --- a/camel/tests/lib/camel-test.c +++ b/camel/tests/lib/camel-test.c @@ -103,8 +103,6 @@ camel_test_init (gint argc, setup = 1; g_type_init (); - /* yeah, we do need ot thread init, even though camel isn't compiled with enable threads */ - g_thread_init (NULL); path = g_strdup_printf ("/tmp/camel-test"); if (mkdir (path, 0700) == -1 && errno != EEXIST) diff --git a/tests/libebook/client/client-test-utils.c b/tests/libebook/client/client-test-utils.c index 710ba25cd..376c0391c 100644 --- a/tests/libebook/client/client-test-utils.c +++ b/tests/libebook/client/client-test-utils.c @@ -67,7 +67,6 @@ main_initialize (void) return; g_type_init (); - g_thread_init (NULL); initialized = TRUE; } diff --git a/tests/libecal/client/client-test-utils.c b/tests/libecal/client/client-test-utils.c index c6f706225..1642ca084 100644 --- a/tests/libecal/client/client-test-utils.c +++ b/tests/libecal/client/client-test-utils.c @@ -63,7 +63,6 @@ main_initialize (void) return; g_type_init (); - g_thread_init (NULL); initialized = TRUE; } diff --git a/tests/libedataserverui/test-client-examine-auth.c b/tests/libedataserverui/test-client-examine-auth.c index a02fb0443..74ba5d852 100644 --- a/tests/libedataserverui/test-client-examine-auth.c +++ b/tests/libedataserverui/test-client-examine-auth.c @@ -412,8 +412,6 @@ gint main (gint argc, gchar **argv) { - g_type_init (); - g_thread_init (NULL); gtk_init (&argc, &argv); e_passwords_init (); diff --git a/tests/libedataserverui/test-name-selector.c b/tests/libedataserverui/test-name-selector.c index 3173382d9..8c79f6ec2 100644 --- a/tests/libedataserverui/test-name-selector.c +++ b/tests/libedataserverui/test-name-selector.c @@ -81,7 +81,6 @@ main (gint argc, gchar **argv) { gtk_init (&argc, &argv); - g_thread_init (NULL); camel_init (NULL, 0); |