[gnome-software/1767-size-code-in-gsapp-can-double-count-runtimes] Apply 1 suggestion(s) to 1 file(s)
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/1767-size-code-in-gsapp-can-double-count-runtimes] Apply 1 suggestion(s) to 1 file(s)
- Date: Fri, 3 Jun 2022 06:06:47 +0000 (UTC)
commit 359d5beda11023a254e5c928327ce2d19e73a6e5
Author: Phaedrus Leeds <mwleeds protonmail com>
Date: Fri Jun 3 06:06:47 2022 +0000
Apply 1 suggestion(s) to 1 file(s)
lib/gs-app.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/gs-app.c b/lib/gs-app.c
index 2776da0ff..018135524 100644
--- a/lib/gs-app.c
+++ b/lib/gs-app.c
@@ -3746,7 +3746,7 @@ gs_app_get_size_download_dependencies (GsApp *app,
g_return_val_if_fail (GS_IS_APP (app), GS_SIZE_TYPE_UNKNOWN);
- covered_uids = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);
+ covered_uids = g_hash_table_new_full ((GHashFunc) as_utils_data_id_hash, (GEqualFunc)
as_utils_data_id_equal, g_free, NULL);
return get_size_download_dependencies (app, size_bytes_out, covered_uids);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]