diff options
author | Jon Trowbridge <trow@ximian.com> | 2001-10-28 14:52:00 +0800 |
---|---|---|
committer | Jon Trowbridge <trow@src.gnome.org> | 2001-10-28 14:52:00 +0800 |
commit | d6702050f7e9e4319dbc2c7a676054d89fe359ed (patch) | |
tree | 2024360cad3c1f22e30865b9465b9f5b02baf404 /addressbook | |
parent | 60934074ade50189a4f11d014c99a9410109e478 (diff) | |
download | gsoc2013-evolution-d6702050f7e9e4319dbc2c7a676054d89fe359ed.tar gsoc2013-evolution-d6702050f7e9e4319dbc2c7a676054d89fe359ed.tar.gz gsoc2013-evolution-d6702050f7e9e4319dbc2c7a676054d89fe359ed.tar.bz2 gsoc2013-evolution-d6702050f7e9e4319dbc2c7a676054d89fe359ed.tar.lz gsoc2013-evolution-d6702050f7e9e4319dbc2c7a676054d89fe359ed.tar.xz gsoc2013-evolution-d6702050f7e9e4319dbc2c7a676054d89fe359ed.tar.zst gsoc2013-evolution-d6702050f7e9e4319dbc2c7a676054d89fe359ed.zip |
Expose this function. (e_card_date_to_string): ...and this one. Fixes
2001-10-28 Jon Trowbridge <trow@ximian.com>
* backend/ebook/e-card.c (e_card_date_from_string): Expose this
function.
(e_card_date_to_string): ...and this one. Fixes build problem in
pas-backend-ldap.c.
svn path=/trunk/; revision=14284
Diffstat (limited to 'addressbook')
-rw-r--r-- | addressbook/ChangeLog | 7 | ||||
-rw-r--r-- | addressbook/backend/ebook/e-card.c | 7 | ||||
-rw-r--r-- | addressbook/backend/ebook/e-card.h | 4 |
3 files changed, 14 insertions, 4 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 382d2d9119..75ea755cb4 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,5 +1,12 @@ 2001-10-28 Jon Trowbridge <trow@ximian.com> + * backend/ebook/e-card.c (e_card_date_from_string): Expose this + function. + (e_card_date_to_string): ...and this one. Fixes build problem in + pas-backend-ldap.c. + +2001-10-28 Jon Trowbridge <trow@ximian.com> + * gui/component/select-names/e-select-names.c (e_select_names_hookup_shell_listeners): Change "this should never happen" dialog to not give my name/e-mail. Sorry translators. diff --git a/addressbook/backend/ebook/e-card.c b/addressbook/backend/ebook/e-card.c index cbea56a6bc..c98f0dce30 100644 --- a/addressbook/backend/ebook/e-card.c +++ b/addressbook/backend/ebook/e-card.c @@ -95,7 +95,6 @@ static void e_card_get_arg (GtkObject *object, GtkArg *arg, guint arg_id); static void assign_string(VObject *vobj, char *default_charset, char **string); char *e_v_object_get_child_value(VObject *vobj, char *name, char *default_charset); -static ECardDate e_card_date_from_string (char *str); static void parse_bday(ECard *card, VObject *object, char *default_charset); static void parse_full_name(ECard *card, VObject *object, char *default_charset); @@ -367,7 +366,7 @@ e_card_set_book (ECard *card, EBook *book) gtk_object_ref (GTK_OBJECT (card->book)); } -static gchar * +gchar * e_card_date_to_string (ECardDate *dt) { if (dt) @@ -3891,8 +3890,8 @@ card_to_string (Card *crd) } #endif -static ECardDate -e_card_date_from_string (char *str) +ECardDate +e_card_date_from_string (const char *str) { ECardDate date; int length; diff --git a/addressbook/backend/ebook/e-card.h b/addressbook/backend/ebook/e-card.h index 3fa6ca2700..23876bd63a 100644 --- a/addressbook/backend/ebook/e-card.h +++ b/addressbook/backend/ebook/e-card.h @@ -169,6 +169,10 @@ void e_card_name_unref (ECard char *e_card_name_to_string (const ECardName *name); ECardName *e_card_name_from_string (const char *full_name); +/* ECardDate */ +ECardDate e_card_date_from_string (const gchar *str); +gchar *e_card_date_to_string (ECardDate *dt); + /* ECardArbitrary manipulation */ ECardArbitrary *e_card_arbitrary_new (void); ECardArbitrary *e_card_arbitrary_copy (const ECardArbitrary *arbitrary); |