[gthumb] added missing "read-metadata-ready" hook invocation



commit 921133d50e0e547b28896082af1ff9d134d8cc20
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Thu Feb 10 20:28:30 2011 +0100

    added missing "read-metadata-ready" hook invocation

 gthumb/gth-metadata-provider.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gth-metadata-provider.c b/gthumb/gth-metadata-provider.c
index 6d24c75..4ce4f00 100644
--- a/gthumb/gth-metadata-provider.c
+++ b/gthumb/gth-metadata-provider.c
@@ -199,6 +199,13 @@ _g_query_metadata_async_thread (GSimpleAsyncResult *result,
 
 	_g_object_list_unref (providers);
 
+	if (error == NULL) {
+		for (scan = qmd->files; scan; scan = scan->next) {
+			GthFileData *file_data = scan->data;
+			gth_hook_invoke ("read-metadata-ready", file_data, qmd->attributes);
+		}
+	}
+
 	if (error != NULL) {
 		g_simple_async_result_set_from_error (result, error);
 		g_error_free (error);



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