[gthumb] allow to call hooks from more threads



commit 630500849cc7e32c7ef6cc3fc93d1693b46779ea
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Wed Mar 31 10:18:30 2010 +0200

    allow to call hooks from more threads

 gthumb/gth-hook.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gthumb/gth-hook.c b/gthumb/gth-hook.c
index 5c58758..afd2f54 100644
--- a/gthumb/gth-hook.c
+++ b/gthumb/gth-hook.c
@@ -249,7 +249,7 @@ gth_hook_invoke (const char *name,
 	}
 
 	if (invoke_marshaller != NULL)
-		g_hook_list_marshal (hook->list, FALSE, invoke_marshaller, marshal_data);
+		g_hook_list_marshal (hook->list, TRUE, invoke_marshaller, marshal_data);
 
 	g_free (marshal_data);
 }
@@ -346,7 +346,7 @@ gth_hook_invoke_get (const char *name,
 	}
 
 	if (invoke_marshaller != NULL)
-		g_hook_list_marshal (hook->list, FALSE, invoke_marshaller, marshal_data);
+		g_hook_list_marshal (hook->list, TRUE, invoke_marshaller, marshal_data);
 
 	value = marshal_data[hook->n_args];
 



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