Skip to content

Commit

Permalink
Remove call to deprecated g_thread_init()
Browse files Browse the repository at this point in the history
The documentation for glib says: "g_thread_init has been deprecated
since version 2.32 and should not be used in newly-written code. This
function is no longer necessary. The GLib threading system is
automatically initialized at the start of your program."

[dsme] Remove call to deprecated g_thread_init()
  • Loading branch information
spiiroin authored and Islam Amer committed Mar 8, 2014
1 parent 23bdc07 commit 1ac6700
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dsme/dsme-server.c
Expand Up @@ -261,8 +261,6 @@ int main(int argc, char *argv[])
fprintf(stderr, ME "Couldn't set dynamic priority: %s\n", strerror(errno));
}

g_thread_init(0); /* notice that this spawns a thread */

parse_options(argc, argv, &module_names);

if (!module_names) {
Expand Down

0 comments on commit 1ac6700

Please sign in to comment.