[evolution/account-mgmt: 1/49] Refactor CompEditor pages to isolate EAccount usage.



commit 639d4c2dc4c9b1d0e8318ce6657c2b9390cfc899
Author: Matthew Barnes <mbarnes redhat com>
Date:   Tue Apr 26 16:23:40 2011 -0400

    Refactor CompEditor pages to isolate EAccount usage.
    
    Hide EAccount usage behind a generic API so EAccount can be replaced
    more easily.

 calendar/gui/dialogs/event-page.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c
index c8c208e..b7ee81a 100644
--- a/calendar/gui/dialogs/event-page.c
+++ b/calendar/gui/dialogs/event-page.c
@@ -238,10 +238,17 @@ get_current_identity (EventPage *page,
 
 		/* XXX EIterator misuses const. */
 		account = (EAccount *) e_iterator_get (iterator);
+<<<<<<< HEAD
 
 		id_name = account->id->name;
 		id_address = account->id->address;
 
+=======
+
+		id_name = account->id->name;
+		id_address = account->id->address;
+
+>>>>>>> Refactor CompEditor pages to isolate EAccount usage.
 		identity = g_strdup_printf ("%s <%s>", id_name, id_address);
 		match = (g_ascii_strcasecmp (text, identity) == 0);
 		g_free (identity);



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