[gnome-photos] source: Add photos_source_get_icon
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] source: Add photos_source_get_icon
- Date: Fri, 1 Jul 2016 17:51:12 +0000 (UTC)
commit 5e2df8ed21b9322ffcde613321a44249ef0cdbad
Author: Umang Jain <mailumangjain gmail com>
Date: Fri Jul 1 22:34:57 2016 +0530
source: Add photos_source_get_icon
We will need it to show the icon for an online share-point.
https://bugzilla.gnome.org/show_bug.cgi?id=768291
src/photos-source.c | 7 +++++++
src/photos-source.h | 2 ++
2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-source.c b/src/photos-source.c
index cfff373..30fe34f 100644
--- a/src/photos-source.c
+++ b/src/photos-source.c
@@ -286,3 +286,10 @@ photos_source_get_goa_object (PhotosSource *self)
{
return self->object;
}
+
+
+GIcon *
+photos_source_get_icon (PhotosSource *self)
+{
+ return self->icon;
+}
diff --git a/src/photos-source.h b/src/photos-source.h
index d91a22c..a25fbae 100644
--- a/src/photos-source.h
+++ b/src/photos-source.h
@@ -56,6 +56,8 @@ const gchar *photos_source_get_name (PhotosSource *self);
GoaObject *photos_source_get_goa_object (PhotosSource *self);
+GIcon *photos_source_get_icon (PhotosSource *self);
+
G_END_DECLS
#endif /* PHOTOS_SOURCE_H */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]