update-portal: Use error_message, not error-message

All other places use underscores instead of dashes.
This commit is contained in:
Alexander Larsson
2019-10-01 09:51:03 +02:00
committed by Alexander Larsson
parent 6cb11631c5
commit 21bc4fc29b
2 changed files with 2 additions and 2 deletions

View File

@@ -299,7 +299,7 @@
</para></listitem>
</varlistentry>
<varlistentry>
<term>error-message s</term>
<term>error_message s</term>
<listitem><para>
The error message, sent when status is Failed
</para></listitem>

View File

@@ -1514,7 +1514,7 @@ emit_progress (PortalFlatpakUpdateMonitor *monitor,
if (error_name)
{
g_variant_builder_add (&builder, "{sv}", "error", g_variant_new_string (error_name));
g_variant_builder_add (&builder, "{sv}", "error-message", g_variant_new_string (error_message));
g_variant_builder_add (&builder, "{sv}", "error_message", g_variant_new_string (error_message));
}
connection = update_monitor_get_connection (monitor);