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



commit 4bf51883794a224b644115f2a728da096011b724
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 813b2dc..2797bcd 100644
--- a/calendar/gui/dialogs/event-page.c
+++ b/calendar/gui/dialogs/event-page.c
@@ -247,10 +247,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]