From 1b1d829e5e32c744565679b9733f1aeaf07d96af Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Wed, 6 Nov 2002 07:39:06 +0000 Subject: ignore the generated marshaller files. 2002-11-05 Chris Toshok * backend/ebook/.cvsignore: ignore the generated marshaller files. * backend/ebook/e-destination.c (e_destination_dispose): rename e_destination_destroy. (e_destination_equal): ifdef this out for now, PENDING_PORT_WORK. (e_destination_get_name): same. (e_destination_get_email): same. (e_destination_get_address): same. (e_destination_get_textrep): same. * backend/ebook/Makefile.am: don't build the executables (importers and loaders) for now. Also, s/oaf/server, and use INTLTOOL_SERVER_RULE. * backend/ebook/e-book-util.c (e_book_get_config_database): un-#ifdef this. (e_book_default_book_open): un-#ifdef ths code in here that relies on the e_config_listener. svn path=/trunk/; revision=18586 --- addressbook/backend/ebook/e-destination.c | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) (limited to 'addressbook/backend/ebook/e-destination.c') diff --git a/addressbook/backend/ebook/e-destination.c b/addressbook/backend/ebook/e-destination.c index 1c85efa6fb..ec2b24f8a1 100644 --- a/addressbook/backend/ebook/e-destination.c +++ b/addressbook/backend/ebook/e-destination.c @@ -31,6 +31,7 @@ #include #include #include "e-book.h" +#include "e-book-marshal.h" #include "e-book-util.h" #include #include @@ -90,7 +91,7 @@ static void e_destination_clear_strings (EDestination *); static GObjectClass *parent_class; static void -e_destination_destroy (GObject *obj) +e_destination_dispose (GObject *obj) { EDestination *dest = E_DESTINATION (obj); @@ -114,7 +115,7 @@ e_destination_class_init (EDestinationClass *klass) parent_class = g_type_class_ref (G_TYPE_OBJECT); - object_class->destroy = e_destination_destroy; + object_class->dispose = e_destination_dispose; e_destination_signals[CHANGED] = g_signal_new ("changed", @@ -162,9 +163,9 @@ e_destination_get_type (void) sizeof (EDestination), 0, /* n_preallocs */ (GInstanceInitFunc) e_destination_init - - dest_type = g_type_register_static (G_TYPE_OBJECT, "EDestination", &dest_info, 0); }; + + dest_type = g_type_register_static (G_TYPE_OBJECT, "EDestination", &dest_info, 0); } return dest_type; @@ -370,6 +371,7 @@ e_destination_is_valid (const EDestination *dest) gboolean e_destination_equal (const EDestination *a, const EDestination *b) { +#ifdef PENDING_PORT_WORK const struct _EDestinationPrivate *pa, *pb; const char *na, *nb; @@ -401,7 +403,7 @@ e_destination_equal (const EDestination *a, const EDestination *b) if (!g_strcasecmp (e_destination_get_email (a), e_destination_get_email (b))) return TRUE; - +#endif return FALSE; } @@ -680,6 +682,7 @@ e_destination_get_email_num (const EDestination *dest) const gchar * e_destination_get_name (const EDestination *dest) { +#ifdef PENDING_PORT_WORK struct _EDestinationPrivate *priv; g_return_val_if_fail (dest && E_IS_DESTINATION (dest), NULL); @@ -717,12 +720,15 @@ e_destination_get_name (const EDestination *dest) } return priv->name; - +#else + return "e_destination_get_name needs port work"; +#endif } const gchar * e_destination_get_email (const EDestination *dest) { +#ifdef PENDING_PORT_WORK struct _EDestinationPrivate *priv; g_return_val_if_fail (dest && E_IS_DESTINATION (dest), NULL); @@ -767,11 +773,15 @@ e_destination_get_email (const EDestination *dest) } return priv->email; +#else + return "e_destination_get_email needs port work"; +#endif } const gchar * e_destination_get_address (const EDestination *dest) { +#ifdef PENDING_PORT_WORK struct _EDestinationPrivate *priv; g_return_val_if_fail (dest && E_IS_DESTINATION (dest), NULL); @@ -813,6 +823,9 @@ e_destination_get_address (const EDestination *dest) } return priv->addr; +#else + return "e_destination_get_address needs port work"; +#endif } void @@ -835,6 +848,7 @@ e_destination_set_raw (EDestination *dest, const gchar *raw) const gchar * e_destination_get_textrep (const EDestination *dest) { +#ifdef PENDING_PORT_WORK const char *name, *email; g_return_val_if_fail (dest && E_IS_DESTINATION (dest), NULL); @@ -865,6 +879,9 @@ e_destination_get_textrep (const EDestination *dest) return email; return ""; +#else + return "e_destination_get_textrep needs port work"; +#endif } gboolean -- cgit