Commit 39a59fb0 authored by Daiki Ueno's avatar Daiki Ueno
Browse files

Serialize alt_gr_mask.

parent e0993a5e
......@@ -147,6 +147,7 @@ eek_keyboard_real_serialize (EekSerializable *self,
}
g_variant_builder_add (builder, "v", g_variant_builder_end (&array));
g_variant_builder_add (builder, "u", priv->num_lock_mask);
g_variant_builder_add (builder, "u", priv->alt_gr_mask);
}
static gsize
......@@ -172,6 +173,7 @@ eek_keyboard_real_deserialize (EekSerializable *self,
g_slice_free (EekOutline, _outline);
}
g_variant_get_child (variant, index++, "u", &priv->num_lock_mask);
g_variant_get_child (variant, index++, "u", &priv->alt_gr_mask);
return index;
}
......
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