On Fri, Apr 03, 2009 at 03:10:20AM +0200, Daniel Gollub wrote:
> I thought and i hope that we don't use any gobject or gtype interfaces from
> glib. At least a quick grep didn't showed me any. Please correct me if i'm
> wrong. (AFAIK libsyncml is using them...)
Yes, you're right. The gobject issues I was tracking ended up in the
evolution plugin.
When I apply this patch to my version, things are a whole lot more stable.
Even without my previous HANDLE_LIBICAL_MEMORY that Patrick Ohly
commented on. Hopefully this is the "real" fix I've been chasing all along.
:-)
Comments welcome.
- Chris
diff --git a/src/evolution2_sync.c b/src/evolution2_sync.c
index 93a1685..6cd7a93 100644
--- a/src/evolution2_sync.c
+++ b/src/evolution2_sync.c
@@ -206,6 +206,8 @@ static osync_bool evo2_discover(OSyncPluginInfo *info, void *data, OSyncError **
osync_bool get_sync_info(OSyncPluginEnv *env, OSyncError **error)
{
+ g_type_init();
+
OSyncPlugin *plugin = osync_plugin_new(error);
if (!plugin)
goto error;
------------------------------------------------------------------------------
_______________________________________________
Opensync-devel mailing list
Opensync-devel@...
https://lists.sourceforge.net/lists/listinfo/opensync-devel