diff options
author | Bastien Nocera <hadess@hadess.net> | 2023-01-18 14:54:15 +0100 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2023-01-23 11:04:36 +0000 |
commit | 727a88a3bd1682869734f2e15b24c882e3ffd648 (patch) | |
tree | b10606dbadd6b0e2941b5d2b2c1261691c17ca57 /shell | |
parent | b1c14df48b3bc67221c4ba9cdacaa4cffe287d38 (diff) | |
download | gnome-control-center-727a88a3bd1682869734f2e15b24c882e3ffd648.tar.gz |
shell: Let libX11 initialise threads itself
Require a version of libX11 new enough that it will initialise threads
support itself.
See https://gitlab.freedesktop.org/xorg/lib/libx11/-/commit/afcdb6fb0045c6186aa83d9298f327a7ec1b2cb9
Diffstat (limited to 'shell')
-rw-r--r-- | shell/main.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/shell/main.c b/shell/main.c index 7ba5b3465..5a30382be 100644 --- a/shell/main.c +++ b/shell/main.c @@ -33,15 +33,6 @@ #include "cc-log.h" #include "cc-application.h" -static void -initialize_dependencies (gint *argc, - gchar ***argv) -{ - #ifdef GDK_WINDOWING_X11 - XInitThreads (); - #endif -} - int main (gint argc, gchar **argv) @@ -55,8 +46,6 @@ main (gint argc, setlocale (LC_ALL, ""); cc_log_init (); - initialize_dependencies (&argc, &argv); - application = cc_application_new (); return g_application_run (G_APPLICATION (application), argc, argv); |