Skip to content

Commit

Permalink
service: rename DBUS property ProgressUpdated to Progress
Browse files Browse the repository at this point in the history
ProgressUpdated was the name of the DBUS signal, but does
not fit as a name for a property. Now it is just Progress.

Signed-off-by: Bastian Stender <bst@pengutronix.de>
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
  • Loading branch information
Bastian-Krause authored and jluebbe committed Jul 7, 2016
1 parent 2f37240 commit 66862b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rauc-installer.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<property name="Operation" type="s" access="read"/>
<property name="LastError" type="s" access="read"/>
<property name="ProgressUpdated" type="(isi)" access="read"/>
<property name="Progress" type="(isi)" access="read"/>

<signal name="Completed">
<arg name="result" type="i"/>
Expand Down
2 changes: 1 addition & 1 deletion src/service.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ static void send_progress_callback(gint percentage,
progress_update[2] = g_variant_new_int32(nesting_depth);

progress_update_tuple = g_variant_new_tuple(progress_update, 3);
r_installer_set_progress_updated(r_installer, progress_update_tuple);
r_installer_set_progress(r_installer, progress_update_tuple);
}

static void r_on_bus_acquired(GDBusConnection *connection,
Expand Down

0 comments on commit 66862b2

Please sign in to comment.