Skip to content

Commit 0ab977b

Browse files
Remove deprecated g_thread_init usage
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.
1 parent 58a29d4 commit 0ab977b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

luakit.c

-2
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,6 @@ main(gint argc, gchar *argv[]) {
170170
}
171171

172172
gtk_init(&argc, &argv);
173-
if (!g_thread_supported())
174-
g_thread_init(NULL);
175173

176174
init_directories();
177175
init_lua(uris);

0 commit comments

Comments
 (0)