[gnome-photos/wip/rishi/tracker3: 1/3] application: Add explicit cast




commit aa6f4113aabbab4516087c6a9d3c16995056011b
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Mar 8 15:24:13 2021 +0100

    application: Add explicit cast

 src/photos-application.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/photos-application.c b/src/photos-application.c
index abcaf837..09b2fbaf 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -396,7 +396,7 @@ photos_application_actions_update (PhotosApplication *self)
   guint n_items = 0;
 
   item = photos_application_get_selection_or_active_item (self);
-  load_state = photos_item_manager_get_load_state (self->state->item_mngr);
+  load_state = photos_item_manager_get_load_state (PHOTOS_ITEM_MANAGER (self->state->item_mngr));
   mode = photos_mode_controller_get_window_mode (self->state->mode_cntrlr);
   selection = photos_selection_controller_get_selection (self->sel_cntrlr);
   selection_mode = photos_utils_get_selection_mode ();


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