[gthumb] Fix gfile monitor reporting in the photo importer
- From: Michael J. Chudobiak <mjc src gnome org>
- To: svn-commits-list gnome org
- Subject: [gthumb] Fix gfile monitor reporting in the photo importer
- Date: Thu, 25 Jun 2009 12:52:29 +0000 (UTC)
commit dd8400277af6da7161e20da74ca61e4c10a5a6c4
Author: Michael J. Chudobiak <mjc avtechpulse com>
Date: Thu Jun 25 08:52:11 2009 -0400
Fix gfile monitor reporting in the photo importer
src/dlg-photo-importer.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/dlg-photo-importer.c b/src/dlg-photo-importer.c
index 87747da..c40c3bc 100644
--- a/src/dlg-photo-importer.c
+++ b/src/dlg-photo-importer.c
@@ -1062,7 +1062,7 @@ notify_file_creation_cb (gpointer cb_data)
data->idle_id = 0;
if (data->saved_images_list != NULL) {
- gth_monitor_notify_update_files (GTH_MONITOR_EVENT_CREATED, data->saved_images_list);
+ gth_monitor_notify_update_gfiles (GTH_MONITOR_EVENT_CREATED, data->saved_images_list);
gfile_list_free (data->saved_images_list);
data->saved_images_list = NULL;
}
@@ -1317,7 +1317,8 @@ save_images__step (AsyncOperationData *aodata,
data->adjust_orientation_list = g_list_prepend (data->adjust_orientation_list,
g_file_dup (final_dest_gfile));
- data->saved_images_list = g_list_prepend (data->saved_images_list, g_file_dup (final_dest_gfile));
+ data->saved_images_list = g_list_prepend (data->saved_images_list, final_dest_gfile);
+ g_object_ref (final_dest_gfile);
add_tags_to_image (data, final_dest_path);
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]