Commit aeb4a75c authored by Guido Gunther's avatar Guido Gunther Committed by Zander Brown
Browse files

quick-settings: Keep DBus proxy around long enough

g_dbus_proxy_call does not take a ref so we were just lucky
that proxy was still valid in `call_dbus_cb` so far.
Signed-off-by: Guido Gunther's avatarGuido Günther <>
parent e1dcaa05
Pipeline #59538 passed with stages
in 37 minutes and 26 seconds
......@@ -235,12 +235,13 @@ call_dbus_cb (GDBusProxy *proxy,
if (err) {
g_warning ("Can't open panel %s", err->message);
g_object_unref (proxy);
static void
create_dbus_proxy_cb (GObject *source_object, GAsyncResult *res, char *panel)
g_autoptr (GDBusProxy) proxy = NULL;
GDBusProxy *proxy;
g_autoptr (GError) err = NULL;
GVariantBuilder builder;
GVariant *params[3];
Supports Markdown
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