[gnome-photos] base-item: Add photos_base_item_get_type_description



commit 837c5f61d8f729c5c89478b9c7585e807df061fa
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Nov 14 18:22:59 2012 +0100

    base-item: Add photos_base_item_get_type_description

 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 56962e2..79cc667 100644
--- a/src/photos-base-item.c
+++ b/src/photos-base-item.c
@@ -794,6 +794,13 @@ photos_base_item_get_name (PhotosBaseItem *self)
 
 
 const gchar *
+photos_base_item_get_type_description (PhotosBaseItem *self)
+{
+  return self->priv->type_description;
+}
+
+
+const gchar *
 photos_base_item_get_uri (PhotosBaseItem *self)
 {
   return self->priv->uri;
diff --git a/src/photos-base-item.h b/src/photos-base-item.h
index 3c78779..51484f2 100644
--- a/src/photos-base-item.h
+++ b/src/photos-base-item.h
@@ -98,6 +98,8 @@ gint64              photos_base_item_get_mtime          (PhotosBaseItem *self);
 
 const gchar        *photos_base_item_get_name           (PhotosBaseItem *self);
 
+const gchar        *photos_base_item_get_type_description (PhotosBaseItem *self);
+
 const gchar        *photos_base_item_get_uri            (PhotosBaseItem *self);
 
 gchar              *photos_base_item_get_where          (PhotosBaseItem *self);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]