[gegl] gegl-init: Don't abort on multiple gegl_init, gegl_exit invokations
- From: Jon Nordby <jonnor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] gegl-init: Don't abort on multiple gegl_init, gegl_exit invokations
- Date: Wed, 1 Aug 2012 13:09:48 +0000 (UTC)
commit 2006feded81a3e70196eb4361290a2c01e65f789
Author: Jon Nordby <jononor gmail com>
Date: Wed Aug 1 14:45:55 2012 +0200
gegl-init: Don't abort on multiple gegl_init,gegl_exit invokations
global_time was not reset in gegl_exit(), so the assertion in
gegl_init() would fail the second time around.
Note: There still seems to be some dirty state after gegl_exit(), as warnings like
"Warning: Two different plugins tried to register 'GeglChantconvert-format_c'."
are outputted.
gegl/gegl-init.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gegl/gegl-init.c b/gegl/gegl-init.c
index 89c8b2f..d21ff51 100644
--- a/gegl/gegl-init.c
+++ b/gegl/gegl-init.c
@@ -424,6 +424,7 @@ gegl_exit (void)
}
g_object_unref (config);
config = NULL;
+ global_time = 0;
}
static void swap_clean (void);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]