[gnome-photos] base-item: Add a getter for pristine_icon
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] base-item: Add a getter for pristine_icon
- Date: Tue, 2 Apr 2013 22:39:09 +0000 (UTC)
commit 9d9d4ffa838ac20d30693e8809f1e147dedd643f
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Apr 2 23:05:09 2013 +0200
base-item: Add a getter for pristine_icon
src/photos-base-item.c | 7 +++++++
src/photos-base-item.h | 2 ++
2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-base-item.c b/src/photos-base-item.c
index 381702a..b9e4940 100644
--- a/src/photos-base-item.c
+++ b/src/photos-base-item.c
@@ -848,6 +848,13 @@ photos_base_item_get_name (PhotosBaseItem *self)
}
+GdkPixbuf *
+photos_base_item_get_pristine_icon (PhotosBaseItem *self)
+{
+ return self->priv->pristine_icon;
+}
+
+
const gchar *
photos_base_item_get_resource_urn (PhotosBaseItem *self)
{
diff --git a/src/photos-base-item.h b/src/photos-base-item.h
index 24d1f00..de228f3 100644
--- a/src/photos-base-item.h
+++ b/src/photos-base-item.h
@@ -102,6 +102,8 @@ gint64 photos_base_item_get_mtime (PhotosBaseItem *self);
const gchar *photos_base_item_get_name (PhotosBaseItem *self);
+GdkPixbuf *photos_base_item_get_pristine_icon (PhotosBaseItem *self);
+
const gchar *photos_base_item_get_resource_urn (PhotosBaseItem *self);
const gchar *photos_base_item_get_type_description (PhotosBaseItem *self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]