Changeset 2527

Show
Ignore:
Timestamp:
09/25/07 20:15:48 (1 year ago)
Author:
dfriedrich
Message:

needs to be executed in a own process

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/evolution2/src/Makefile.am

    r2501 r2527  
    99 
    1010config_DATA = evo2-sync 
    11  
    12 opensyncheader_HEADERS = evo2_sync.h 
    1311 
    1412plugin_LTLIBRARIES = evo2_sync.la 
  • plugins/evolution2/src/evolution2_sync.c

    r2515 r2527  
    22 * evolution2_sync - A plugin for the opensync framework 
    33 * Copyright (C) 2004-2005  Armin Bauer <armin.bauer@opensync.org> 
     4 * Copyright (C) 2007 Daniel Friedrich <daniel.friedrich@opensync.org> 
    45 *  
    56 * This library is free software; you can redistribute it and/or 
     
    289290        osync_plugin_set_description(plugin, "Address book, calendar and task list of Evolution 2"); 
    290291        osync_plugin_set_config_type(plugin, OSYNC_PLUGIN_OPTIONAL_CONFIGURATION); 
     292        /** 
     293         * Bug 477227 – libebook isn't designed to be loaded and unloaded 
     294         * see: http://bugzilla.gnome.org/show_bug.cgi?id=477227 
     295         * see: http://mail.gnome.org/archives/evolution-hackers/2007-September/msg00027.html 
     296         * also the other EDS client libraries; so we start the plugin in a own process. 
     297         */ 
     298        osync_plugin_set_start_type(plugin, OSYNC_START_TYPE_PROCESS); 
    291299         
    292300        osync_plugin_set_initialize(plugin, evo2_initialize); 
  • plugins/evolution2/src/evolution2_sync.h

    r2501 r2527  
    22#define EVO2_SYNC_H 
    33 
    4 #include "evo2_sync.h" 
     4//#include "evo2_sync.h" 
    55 
    66#include <opensync/opensync.h> 
     
    2323#include <sys/stat.h> 
    2424#include <string.h> 
     25 
     26typedef struct evo2_location { 
     27        char *name; 
     28        char *uri; 
     29} evo2_location; 
    2530 
    2631typedef struct OSyncEvoEnv {