Skip to content

Commit

Permalink
Remove deprecated g_thread_init usage
Browse files Browse the repository at this point in the history
From the docs:
  `g_thread_init` has been deprecated since version 2.32 and should not
  be used in newly-written code. This function is not longer necessary.
  The GLib threading system is automatically initialized at the start of
  your program.
  • Loading branch information
mason-larobina committed Jan 13, 2013
1 parent 58a29d4 commit 0ab977b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions luakit.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,6 @@ main(gint argc, gchar *argv[]) {
}

gtk_init(&argc, &argv);
if (!g_thread_supported())
g_thread_init(NULL);

init_directories();
init_lua(uris);
Expand Down

0 comments on commit 0ab977b

Please sign in to comment.