[gnome-photos/wip/rishi/collection: 28/42] base-item: Shuffle some code around
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-photos/wip/rishi/collection: 28/42] base-item: Shuffle some code around
- Date: Thu, 25 Jan 2018 03:18:14 +0000 (UTC)
commit 8e883e3246464df2984b85e417e27ae2283c2b74
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Jan 25 02:23:21 2018 +0100
base-item: Shuffle some code around
This will make the subsequent commit easier to read.
https://bugzilla.gnome.org/show_bug.cgi?id=751212
src/photos-base-item.c | 28 ++++++++++++++--------------
1 file changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/src/photos-base-item.c b/src/photos-base-item.c
index 6154bbab..c8a47424 100644
--- a/src/photos-base-item.c
+++ b/src/photos-base-item.c
@@ -469,6 +469,20 @@ photos_base_item_set_original_icon (PhotosBaseItem *self, GdkPixbuf *icon)
}
+static void
+photos_base_item_update_info_from_type (PhotosBaseItem *self)
+{
+ PhotosBaseItemPrivate *priv;
+
+ priv = photos_base_item_get_instance_private (self);
+
+ if (strstr (priv->rdf_type, "nfo#DataContainer") != NULL)
+ priv->collection = TRUE;
+
+ PHOTOS_BASE_ITEM_GET_CLASS (self)->update_type_description (self);
+}
+
+
static void
photos_base_item_create_thumbnail_in_thread_func (gpointer data, gpointer user_data)
{
@@ -2600,20 +2614,6 @@ photos_base_item_refresh_icon (PhotosBaseItem *self)
}
-static void
-photos_base_item_update_info_from_type (PhotosBaseItem *self)
-{
- PhotosBaseItemPrivate *priv;
-
- priv = photos_base_item_get_instance_private (self);
-
- if (strstr (priv->rdf_type, "nfo#DataContainer") != NULL)
- priv->collection = TRUE;
-
- PHOTOS_BASE_ITEM_GET_CLASS (self)->update_type_description (self);
-}
-
-
static void
photos_base_item_populate_from_cursor (PhotosBaseItem *self, TrackerSparqlCursor *cursor)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]