[gnome-software: 15/18] gs-odrs-provider: Drop an unnecessary cast




commit c26b291439bab2f8411eff06003d089a1872c42f
Author: Philip Withnall <pwithnall endlessos org>
Date:   Tue Jun 8 13:29:34 2021 +0100

    gs-odrs-provider: Drop an unnecessary cast
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 lib/gs-odrs-provider.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/lib/gs-odrs-provider.c b/lib/gs-odrs-provider.c
index 2b17db5d0..bf2923e1c 100644
--- a/lib/gs-odrs-provider.c
+++ b/lib/gs-odrs-provider.c
@@ -1599,7 +1599,7 @@ gs_odrs_provider_add_unvoted_reviews (GsOdrsProvider  *self,
 
        /* look at all the reviews; faking application objects */
        hash = g_hash_table_new_full (g_str_hash, g_str_equal,
-                                     g_free, (GDestroyNotify) g_object_unref);
+                                     g_free, g_object_unref);
        for (i = 0; i < reviews->len; i++) {
                GsApp *app;
                AsReview *review;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]