[gnome-photos/wip/rishi/thumbnailer: 11/12] application: foo
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/thumbnailer: 11/12] application: foo
- Date: Sun, 12 Feb 2017 16:47:10 +0000 (UTC)
commit 7beeed9013848a9eb4a399767d36658e4fe56ef1
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]