[gnome-photos/wip/rishi/online-miners: 9/9] application: ...
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/online-miners: 9/9] application: ...
- Date: Sat, 20 Mar 2021 13:16:05 +0000 (UTC)
commit df838c6d90420379528186dc9167392f147e30fa
Author: Debarshi Ray <debarshir gnome org>
Date: Sat Mar 20 14:15:57 2021 +0100
application: ...
src/photos-application.c | 34 ----------------------------------
src/photos-application.h | 6 ------
2 files changed, 40 deletions(-)
---
diff --git a/src/photos-application.c b/src/photos-application.c
index 4c68d9a9..c3c917f7 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -3117,32 +3117,6 @@ photos_application_get_empty_results (PhotosApplication *self)
}
-GomMiner *
-photos_application_get_miner (PhotosApplication *self, const gchar *provider_type)
-{
- GList *l;
- GomMiner *ret_val = NULL;
-
- g_return_val_if_fail (PHOTOS_IS_APPLICATION (self), NULL);
- g_return_val_if_fail (provider_type != NULL && provider_type[0] != '\0', NULL);
-
- for (l = self->miners; l != NULL; l = l->next)
- {
- GomMiner *miner = GOM_MINER (l->data);
- const gchar *miner_provider_type;
-
- miner_provider_type = g_object_get_data (G_OBJECT (miner), "provider-type");
- if (g_strcmp0 (provider_type, miner_provider_type) == 0)
- {
- ret_val = miner;
- break;
- }
- }
-
- return ret_val;
-}
-
-
const gchar *
photos_application_get_miner_files_name (PhotosApplication *self)
{
@@ -3153,14 +3127,6 @@ photos_application_get_miner_files_name (PhotosApplication *self)
}
-GList *
-photos_application_get_miners_running (PhotosApplication *self)
-{
- g_return_val_if_fail (PHOTOS_IS_APPLICATION (self), NULL);
- return self->miners_running;
-}
-
-
gint
photos_application_get_scale_factor (PhotosApplication *self)
{
diff --git a/src/photos-application.h b/src/photos-application.h
index 6ab6c103..3d5ea1b3 100644
--- a/src/photos-application.h
+++ b/src/photos-application.h
@@ -25,7 +25,6 @@
#include <gtk/gtk.h>
-#include "photos-gom-miner.h"
#include "photos-tracker-miner-files-index.h"
G_BEGIN_DECLS
@@ -39,13 +38,8 @@ TrackerMinerFilesIndex *photos_application_dup_miner_files_index (PhotosApplicat
gboolean photos_application_get_empty_results (PhotosApplication *self);
-GomMiner *photos_application_get_miner (PhotosApplication *self,
- const gchar *provider_type);
-
const gchar *photos_application_get_miner_files_name (PhotosApplication *self);
-GList *photos_application_get_miners_running (PhotosApplication *self);
-
gint photos_application_get_scale_factor (PhotosApplication *self);
void photos_application_hold (PhotosApplication *self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]