[Evolution-hackers] EDS and GnomeMeeting



Hello to all,

I have started looking at Evolution Data Server and started to integrate
GnomeMeeting's address book with EDS.

Everything seems to work smoothly, but I can't delete a contact, it
causes a deadlock. The test program reproducing this is in attachment
(it is very short), it is crappy test code. It takes the full URI of the
addressbook from where the contact should be deleted as argument, and it
tries to delete an unexistant contact with an unexistant uid. It
deadlocks.

On another topic, GnomeMeeting also has a notion of speed dials :
dialing 1# will for example call
callto://ils.seconix.com/dsandras blahblah com
Where should I store that using EDS? 

Thank you,
-- 
Damien Sandras <dsandras seconix com>
#include <libebook/e-book.h>

gboolean 
gnomemeeting_addressbook_delete_contact (char *uri) 
{
  GError *err = NULL;
  EBook *ebook = NULL;


  ebook = e_book_new ();

  if (e_book_load_uri (ebook, uri, FALSE, NULL)) {

    e_book_remove_contact (ebook, "kk", &err);
  }
  

  return TRUE;
};


int main (int argc, char **argv) 
{
  if (argc > 1) {

    gnomemeeting_addressbook_delete_contact (argv [1]);
  }


  return 0;
}

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=



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