libflatpak: Report available updates for password-protected refs too.

flatpak_installation_list_installed_refs_for_update() now uses the
ready-pre-auth signal instead of the ready signal. This means we will
report updates even for refs that require authentication to install.
This commit is contained in:
Alexander Larsson
2020-10-08 11:21:11 +02:00
committed by Alexander Larsson
parent bf8ac3cc1c
commit d7716f41ac

View File

@@ -1096,7 +1096,7 @@ flatpak_installation_list_installed_refs_for_update (FlatpakInstallation *self,
related_to_ops = g_hash_table_new_full (g_direct_hash, g_direct_equal, g_object_unref, null_safe_g_ptr_array_unref);
g_signal_connect (transaction, "ready", G_CALLBACK (transaction_ready), &related_to_ops);
g_signal_connect (transaction, "ready-pre-auth", G_CALLBACK (transaction_ready), &related_to_ops);
flatpak_transaction_run (transaction, cancellable, &local_error);
g_assert (local_error != NULL);