aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/ChangeLog7
-rw-r--r--addressbook/backend/ebook/e-card.c7
-rw-r--r--addressbook/backend/ebook/e-card.h4
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);