[gnome-photos/wip/rishi/collection: 35/35] device item



commit 43a63f9bc9a5d44c16ad7ba6bab4bdf29efd6294
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed Jan 24 14:59:28 2018 +0100

    device item

 src/photos-device-item.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/photos-device-item.c b/src/photos-device-item.c
index 9eafec36..1feb553c 100644
--- a/src/photos-device-item.c
+++ b/src/photos-device-item.c
@@ -23,13 +23,9 @@
 
 #include "config.h"
 
-#include <gexiv2/gexiv2.h>
 #include <gio/gio.h>
-#include <glib.h>
-#include <glib/gi18n.h>
 
 #include "photos-device-item.h"
-#include "photos-error.h"
 #include "photos-glib.h"
 #include "photos-utils.h"
 
@@ -269,6 +265,7 @@ photos_device_item_constructed (GObject *object)
 {
   PhotosDeviceItem *self = PHOTOS_DEVICE_ITEM (object);
   const gchar *mime_type;
+  const gchar *uri;
 
   G_OBJECT_CLASS (photos_device_item_parent_class)->constructed (object);
 
@@ -281,6 +278,8 @@ photos_device_item_constructed (GObject *object)
       if (default_app != NULL)
         photos_base_item_set_default_app (PHOTOS_BASE_ITEM (self), default_app);
     }
+
+  uri = photos_base_item_get_uri (PHOTOS_BASE_ITEM (self));
 }
 
 


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