[gnome-photos] fetch-collections-job: Make urn property gettable
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] fetch-collections-job: Make urn property gettable
- Date: Thu, 21 Apr 2016 07:21:35 +0000 (UTC)
commit 36b8850fda379dd46b3998161766000dd06db39a
Author: Rafael Fonseca <r4f4rfs gmail com>
Date: Tue Apr 19 18:51:22 2016 +0200
fetch-collections-job: Make urn property gettable
https://bugzilla.gnome.org/show_bug.cgi?id=764086
src/photos-fetch-collections-job.c | 8 ++++++++
src/photos-fetch-collections-job.h | 2 ++
2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-fetch-collections-job.c b/src/photos-fetch-collections-job.c
index b097493..dc663f2 100644
--- a/src/photos-fetch-collections-job.c
+++ b/src/photos-fetch-collections-job.c
@@ -223,6 +223,14 @@ photos_fetch_collections_job_finish (PhotosFetchCollectionsJob *self, GAsyncResu
}
+const gchar *
+photos_fetch_collections_job_get_urn (PhotosFetchCollectionsJob *self)
+{
+ g_return_val_if_fail (PHOTOS_IS_FETCH_COLLECTIONS_JOB (self), NULL);
+ return self->urn;
+}
+
+
void
photos_fetch_collections_job_run (PhotosFetchCollectionsJob *self,
GCancellable *cancellable,
diff --git a/src/photos-fetch-collections-job.h b/src/photos-fetch-collections-job.h
index 041c651..d7f9220 100644
--- a/src/photos-fetch-collections-job.h
+++ b/src/photos-fetch-collections-job.h
@@ -55,6 +55,8 @@ GList *photos_fetch_collections_job_finish (PhotosFetch
GAsyncResult *res,
GError **error);
+const gchar *photos_fetch_collections_job_get_urn (PhotosFetchCollectionsJob *self);
+
G_END_DECLS
#endif /* PHOTOS_FETCH_COLLECTIONS_JOB_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]