mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-04 20:07:36 +00:00
mm-provider: Don't warn about cancelled mm_manager_new()
It is cancelled when disposing and does not warrant a warning.
This commit is contained in:
parent
958d63dfab
commit
61b81a285c
1 changed files with 4 additions and 2 deletions
|
@ -279,8 +279,10 @@ mm_manager_new_cb (GDBusConnection *connection,
|
|||
|
||||
self->mm = mm_manager_new_finish (res, &error);
|
||||
if (!self->mm) {
|
||||
g_warning ("Error creating ModemManager Manager: %s",
|
||||
error->message);
|
||||
if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
|
||||
g_warning ("Error creating ModemManager Manager: %s",
|
||||
error->message);
|
||||
|
||||
update_status (self);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue