Commit c53b4d39 authored by Daiki Ueno's avatar Daiki Ueno
Browse files

Remove floating ref from a serialized keyboard.

parent fbcf6b6c
......@@ -434,6 +434,8 @@ eekboard_context_add_keyboard (EekboardContext *context,
priv = EEKBOARD_CONTEXT_GET_PRIVATE (context);
variant = eek_serializable_serialize (EEK_SERIALIZABLE(keyboard));
if (g_variant_is_floating (variant))
g_variant_ref_sink (variant);
error = NULL;
result = g_dbus_proxy_call_sync (G_DBUS_PROXY(context),
......
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