[gnome-photos/wip/rishi/thumbnailer: 13/15] application: foo



commit dea9df878cd847d19ce93636adac5b1aa26ee945
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Feb 9 20:32:01 2017 +0100

    application: foo

 src/photos-application.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-application.c b/src/photos-application.c
index bf36828..70d6685 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -62,6 +62,7 @@
 #include "photos-share-dialog.h"
 #include "photos-share-notification.h"
 #include "photos-share-point-manager.h"
+#include "photos-thumbnail-factory.h"
 #include "photos-tracker-extract-priority.h"
 #include "photos-utils.h"
 
@@ -111,6 +112,7 @@ struct _PhotosApplication
   PhotosSearchContextState *state;
   PhotosSearchProvider *search_provider;
   PhotosSelectionController *sel_cntrlr;
+  PhotosThumbnailFactory *factory;
   TrackerExtractPriority *extract_priority;
   gboolean main_window_deleted;
   guint create_miners_count;
@@ -647,6 +649,7 @@ photos_application_create_window (PhotosApplication *self)
   g_signal_connect_swapped (self->main_window, "destroy", G_CALLBACK (photos_application_destroy), self);
 
   self->main_window_deleted = FALSE;
+  self->factory = photos_thumbnail_factory_dup_singleton (NULL, NULL);
 
   g_application_hold (G_APPLICATION (self));
   tracker_extract_priority_proxy_new_for_bus (G_BUS_TYPE_SESSION,
@@ -1926,6 +1929,7 @@ photos_application_dispose (GObject *object)
   g_clear_object (&self->shr_pnt_mngr);
   g_clear_object (&self->camera_cache);
   g_clear_object (&self->sel_cntrlr);
+  g_clear_object (&self->factory);
   g_clear_object (&self->extract_priority);
 
   if (self->state != NULL)


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