[gnome-photos] base-item: Remove a redundant type cast



commit 72d3737b6dbfc3af468a222413d26d12aff3c7be
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Dec 7 12:56:19 2016 +0100

    base-item: Remove a redundant type cast

 src/photos-base-item.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/photos-base-item.c b/src/photos-base-item.c
index 72225c5..43cddf6 100644
--- a/src/photos-base-item.c
+++ b/src/photos-base-item.c
@@ -2423,9 +2423,7 @@ photos_base_item_class_init (PhotosBaseItemClass *class)
                                              1,
                                              FALSE,
                                              NULL);
-  g_thread_pool_set_sort_function (create_thumbnail_pool,
-                                   (GCompareDataFunc) photos_base_item_create_thumbnail_sort_func,
-                                   NULL);
+  g_thread_pool_set_sort_function (create_thumbnail_pool, photos_base_item_create_thumbnail_sort_func, NULL);
 }
 
 


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