Skip to content

Commit

Permalink
remove calls to g_thread_init
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Matthew committed Jul 21, 2012
1 parent 3fb9c56 commit 88c358c
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion shell/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ main (int argc, char **argv)
* plugin can't do it.
*/
gdk_disable_multidevice ();
g_thread_init (NULL);
g_type_init ();
g_random_set_seed (time (0));

Expand Down
1 change: 0 additions & 1 deletion tests/bench-rhythmdb-load.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ main (int argc, char **argv)

rb_profile_start ("load test");

g_thread_init (NULL);
rb_threads_init ();
setlocale (LC_ALL, NULL);
gtk_init (&argc, &argv);
Expand Down
1 change: 0 additions & 1 deletion tests/test-audioscrobbler.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ main (int argc, char **argv)
Suite *s;

rb_profile_start ("rb-audioscrobbler test suite");
g_thread_init (NULL);
rb_threads_init ();
g_type_init ();
rb_debug_init (TRUE);
Expand Down
1 change: 0 additions & 1 deletion tests/test-file-helpers.c
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ main (int argc, char **argv)
Suite *s;

rb_profile_start ("rb-file-helpers test suite");
g_thread_init (NULL);
rb_threads_init ();
setlocale (LC_ALL, NULL);
rb_debug_init (TRUE);
Expand Down
1 change: 0 additions & 1 deletion tests/test-rb-lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ main (int argc, char **argv)
Suite *s;

rb_profile_start ("rb-utils test suite");
g_thread_init (NULL);
rb_threads_init ();
g_type_init ();
rb_debug_init (TRUE);
Expand Down
1 change: 0 additions & 1 deletion tests/test-rhythmdb-property-model.c
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,6 @@ main (int argc, char **argv)
/* init stuff */
rb_profile_start ("rhythmdb-property-model test suite");

g_thread_init (NULL);
rb_threads_init ();
setlocale (LC_ALL, NULL);
rb_debug_init (TRUE);
Expand Down
1 change: 0 additions & 1 deletion tests/test-rhythmdb-query-model.c
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,6 @@ main (int argc, char **argv)
/* init stuff */
rb_profile_start ("rhythmdb-query-model test suite");

g_thread_init (NULL);
rb_threads_init ();
setlocale (LC_ALL, NULL);
rb_debug_init (TRUE);
Expand Down
1 change: 0 additions & 1 deletion tests/test-rhythmdb-query.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ main (int argc, char **argv)
query_func qfunc;

gtk_init (&argc, &argv);
g_thread_init (NULL);
gdk_threads_init ();
rb_thread_helpers_init ();
rb_debug_init (TRUE);
Expand Down
1 change: 0 additions & 1 deletion tests/test-rhythmdb-tree-serialization.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ main (int argc, char **argv)
xmlDocPtr doc;

gtk_init (&argc, &argv);
g_thread_init (NULL);
gdk_threads_init ();
rb_thread_helpers_init ();
rb_debug_init (TRUE);
Expand Down
1 change: 0 additions & 1 deletion tests/test-rhythmdb-view.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ main (int argc, char **argv)
RhythmDBEntry *entry;

gtk_init (&argc, &argv);
g_thread_init (NULL);
gdk_threads_init ();
rb_thread_helpers_init ();
rb_file_helpers_init (TRUE);
Expand Down
1 change: 0 additions & 1 deletion tests/test-rhythmdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,6 @@ main (int argc, char **argv)
/* init stuff */
rb_profile_start ("rhythmbox test suite");

g_thread_init (NULL);
rb_threads_init ();
rb_debug_init (TRUE);
rb_refstring_system_init ();
Expand Down
1 change: 0 additions & 1 deletion tests/test-widgets.c
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,6 @@ main (int argc, char **argv)

g_log_set_always_fatal (G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL);

g_thread_init (NULL);
rb_threads_init ();
rb_debug_init (TRUE);
rb_refstring_system_init ();
Expand Down

0 comments on commit 88c358c

Please sign in to comment.