[gnome-photos] export-notification: Add missing typecasts



commit a5732905c7e80ade26d497e40bedc8647b34761a
Author: Debarshi Ray <debarshir gnome org>
Date:   Sat Aug 20 08:41:24 2016 +0200

    export-notification: Add missing typecasts

 src/photos-export-notification.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/photos-export-notification.c b/src/photos-export-notification.c
index 7f32929..38a79e8 100644
--- a/src/photos-export-notification.c
+++ b/src/photos-export-notification.c
@@ -369,11 +369,11 @@ photos_export_notification_set_property (GObject *object, guint prop_id, const G
   switch (prop_id)
     {
     case PROP_ERROR:
-      self->error = g_value_dup_boxed (value);
+      self->error = (GError *) g_value_dup_boxed (value);
       break;
 
     case PROP_FILE:
-      self->file = g_value_dup_object (value);
+      self->file = G_FILE (g_value_dup_object (value));
       break;
 
     case PROP_ITEMS:


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