Commit 995a9450 authored by Andrea Azzarone's avatar Andrea Azzarone 🚴
Browse files

region: Autodisconnect IBusBus "connected" handler

Use g_signal_connect_object to ensure handler is not run after object is

Fixes: GNOME/gnome-control-center#223
parent 6d1c7ceb
Pipeline #39497 passed with stages
in 4 minutes and 21 seconds
......@@ -1319,8 +1319,9 @@ setup_input_section (CcRegionPanel *self)
if (ibus_bus_is_connected (self->ibus))
fetch_ibus_engines (self);
g_signal_connect_swapped (self->ibus, "connected",
G_CALLBACK (fetch_ibus_engines), self);
g_signal_connect_object (self->ibus, "connected",
G_CALLBACK (fetch_ibus_engines), self,
maybe_start_ibus ();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment