[gnome-photos] utils: Add photos_utils_get_icon_size
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos] utils: Add photos_utils_get_icon_size
- Date: Sun, 15 Jul 2012 20:15:13 +0000 (UTC)
commit b50fbefca9068308d95ef6486231f85802a8ac3a
Author: Debarshi Ray <debarshir gnome org>
Date: Sun Jul 15 14:25:19 2012 +0200
utils: Add photos_utils_get_icon_size
src/photos-utils.c | 7 +++++++
src/photos-utils.h | 2 ++
2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/photos-utils.c b/src/photos-utils.c
index 0c1f9a8..e57ec6f 100644
--- a/src/photos-utils.c
+++ b/src/photos-utils.c
@@ -137,6 +137,13 @@ photos_utils_filename_strip_extension (const gchar *filename_with_extension)
}
+gint
+photos_utils_get_icon_size (void)
+{
+ return 128;
+}
+
+
GList *
photos_utils_get_urns_from_paths (GList *paths, GtkTreeModel *model)
{
diff --git a/src/photos-utils.h b/src/photos-utils.h
index eebb9a4..a13a479 100644
--- a/src/photos-utils.h
+++ b/src/photos-utils.h
@@ -34,6 +34,8 @@ void photos_utils_alpha_gtk_widget (GtkWidget *widget);
gchar *photos_utils_filename_strip_extension (const gchar *filename_with_extension);
+gint photos_utils_get_icon_size (void);
+
GList *photos_utils_get_urns_from_paths (GList *paths, GtkTreeModel *model);
void photos_utils_queue_thumbnail_job_for_file_async (GFile *file,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]