[gnome-photos/wip/rishi/thumbnailer: 14/16] application: foo



commit 56dce9dee5bd6a5a9877cf4829afd01697f89827
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 97dcc67..7652f3e 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -63,6 +63,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"
 
@@ -112,6 +113,7 @@ struct _PhotosApplication
   PhotosSearchContextState *state;
   PhotosSearchProvider *search_provider;
   PhotosSelectionController *sel_cntrlr;
+  PhotosThumbnailFactory *factory;
   TrackerExtractPriority *extract_priority;
   gboolean main_window_deleted;
   guint create_miners_count;
@@ -648,6 +650,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,
@@ -1927,6 +1930,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]