add-user-dialog: Don't use "adw_alert_dialog_format_body"
There isn't a formatted string, so adw_alert_dialog_set_body must be used instead. Closes https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/3087
This commit is contained in:
parent
cfcea08372
commit
5227be3d78
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ show_error_dialog (CcAddUserDialog *self,
|
|||
|
||||
if (error != NULL) {
|
||||
g_dbus_error_strip_remote_error (error);
|
||||
adw_alert_dialog_format_body (ADW_ALERT_DIALOG (dialog), error->message);
|
||||
adw_alert_dialog_set_body (ADW_ALERT_DIALOG (dialog), error->message);
|
||||
}
|
||||
|
||||
adw_alert_dialog_add_responses (ADW_ALERT_DIALOG (dialog),
|
||||
|
|
Loading…
Add table
Reference in a new issue