mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
gsettings tool: stop using GMainLoop
Just iterate directly.
This commit is contained in:
parent
f33a7f9ef2
commit
43d19dae11
@ -420,7 +420,8 @@ gsettings_monitor (void)
|
||||
else
|
||||
g_signal_connect (global_settings, "changed", G_CALLBACK (value_changed), NULL);
|
||||
|
||||
g_main_loop_run (g_main_loop_new (NULL, FALSE));
|
||||
for (;;)
|
||||
g_main_context_iteration (NULL, TRUE);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user