diff options
author | Chris Toshok <toshok@src.gnome.org> | 2000-04-13 15:35:59 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2000-04-13 15:35:59 +0800 |
commit | 73d50bc3f11de6fe8fa58d2328197c82950b7e79 (patch) | |
tree | 0e1df1dc5c3adc643672e07b41fa7fefc103ed32 /addressbook/backend/ebook/test-card.c | |
parent | bb53ed6a7c9315f74330cb473636fb8a751695c0 (diff) | |
download | gsoc2013-evolution-73d50bc3f11de6fe8fa58d2328197c82950b7e79.tar gsoc2013-evolution-73d50bc3f11de6fe8fa58d2328197c82950b7e79.tar.gz gsoc2013-evolution-73d50bc3f11de6fe8fa58d2328197c82950b7e79.tar.bz2 gsoc2013-evolution-73d50bc3f11de6fe8fa58d2328197c82950b7e79.tar.lz gsoc2013-evolution-73d50bc3f11de6fe8fa58d2328197c82950b7e79.tar.xz gsoc2013-evolution-73d50bc3f11de6fe8fa58d2328197c82950b7e79.tar.zst gsoc2013-evolution-73d50bc3f11de6fe8fa58d2328197c82950b7e79.zip |
add title field foo to the test.
* addressbook/backend/ebook/test-card.c: add title field foo to
the test.
* addressbook/backend/ebook/e-card.c: reflect the title field.
* addressbook/backend/ebook/e-card.h: un-#if 0 the title field.
svn path=/trunk/; revision=2416
Diffstat (limited to 'addressbook/backend/ebook/test-card.c')
-rw-r--r-- | addressbook/backend/ebook/test-card.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/addressbook/backend/ebook/test-card.c b/addressbook/backend/ebook/test-card.c index 70ced1a8d5..e31495ec3b 100644 --- a/addressbook/backend/ebook/test-card.c +++ b/addressbook/backend/ebook/test-card.c @@ -8,6 +8,8 @@ " \ "N:Friedman;Nat;D;Mr. " \ +"TITLE:Head Geek +" \ "BDAY:1977-08-06 " \ "TEL;WORK:617 679 1984 @@ -60,6 +62,7 @@ main (int argc, char **argv) /* Fields */ char *fname; + char *title; ECardName *name; ECardList *address; ECardList *phone; @@ -92,6 +95,7 @@ main (int argc, char **argv) "address", &address, "phone", &phone, "email", &email, + "title", &title, "birth_date", &bday, NULL); if ( fname ) { @@ -111,6 +115,9 @@ main (int argc, char **argv) if ( name->suffix ) printf(" suffix : %s\n", name->suffix); } + if ( title ) { + printf("Title : %s\n", title); + } if ( bday ) { printf("BDay : %4d-%02d-%02d\n", bday->year, bday->month, bday->day); } |