evolution r35738 - in branches/EXCHANGE_MAPI_BRANCH: addressbook/gui/component calendar/gui



Author: msuman
Date: Fri Jul 11 11:18:27 2008
New Revision: 35738
URL: http://svn.gnome.org/viewvc/evolution?rev=35738&view=rev

Log:
MAPI branch - Milan's fix for regressions of bug #540142.

Modified:
   branches/EXCHANGE_MAPI_BRANCH/addressbook/gui/component/addressbook-component.c
   branches/EXCHANGE_MAPI_BRANCH/calendar/gui/calendar-component.c
   branches/EXCHANGE_MAPI_BRANCH/calendar/gui/memos-component.c
   branches/EXCHANGE_MAPI_BRANCH/calendar/gui/tasks-component.c

Modified: branches/EXCHANGE_MAPI_BRANCH/addressbook/gui/component/addressbook-component.c
==============================================================================
--- branches/EXCHANGE_MAPI_BRANCH/addressbook/gui/component/addressbook-component.c	(original)
+++ branches/EXCHANGE_MAPI_BRANCH/addressbook/gui/component/addressbook-component.c	Fri Jul 11 11:18:27 2008
@@ -151,6 +151,7 @@
 		/* Create the default Person addressbook */
 		ESource *source = e_source_new (_("Personal"), PERSONAL_RELATIVE_URI);
 		e_source_group_add_source (on_this_computer, source, -1);
+		g_object_unref (source);
 
 		e_source_set_property (source, "completion", "true");
 
@@ -164,8 +165,7 @@
 
 		on_ldap_servers = group;
 	}
-	if (personal_source)
-		g_object_unref (personal_source);
+
 	g_free (base_uri_proto);
 	g_free (base_uri);
 }

Modified: branches/EXCHANGE_MAPI_BRANCH/calendar/gui/calendar-component.c
==============================================================================
--- branches/EXCHANGE_MAPI_BRANCH/calendar/gui/calendar-component.c	(original)
+++ branches/EXCHANGE_MAPI_BRANCH/calendar/gui/calendar-component.c	Fri Jul 11 11:18:27 2008
@@ -247,6 +247,7 @@
 		/* Create the default Person addressbook */
 		personal_source = e_source_new (_("Personal"), PERSONAL_RELATIVE_URI);
 		e_source_group_add_source (on_this_computer, personal_source, -1);
+		g_object_unref (personal_source);
 
 		calendars_selected = calendar_config_get_calendars_selected ();
 		if (!primary_calendar && !calendars_selected) {
@@ -295,6 +296,7 @@
 	if (!birthdays_source) {
 		birthdays_source = e_source_new (_("Birthdays & Anniversaries"), "/");
 		e_source_group_add_source (contacts, birthdays_source, -1);
+		g_object_unref (birthdays_source);
 	}
 
 	if (!e_source_get_property (birthdays_source, "delete"))
@@ -312,11 +314,6 @@
 
 	component->priv->source_list = source_list;
 
-	if (personal_source)
-		g_object_unref (personal_source);
-	if (birthdays_source)
-		g_object_unref (birthdays_source);
-
 	g_free (base_uri_proto);
 	g_free (base_uri);
 }

Modified: branches/EXCHANGE_MAPI_BRANCH/calendar/gui/memos-component.c
==============================================================================
--- branches/EXCHANGE_MAPI_BRANCH/calendar/gui/memos-component.c	(original)
+++ branches/EXCHANGE_MAPI_BRANCH/calendar/gui/memos-component.c	Fri Jul 11 11:18:27 2008
@@ -208,6 +208,7 @@
 		/* Create the default Person addressbook */
 		ESource *source = e_source_new (_("Personal"), PERSONAL_RELATIVE_URI);
 		e_source_group_add_source (on_this_computer, source, -1);
+		g_object_unref (source);
 
 		memos_selected = calendar_config_get_memos_selected ();
 

Modified: branches/EXCHANGE_MAPI_BRANCH/calendar/gui/tasks-component.c
==============================================================================
--- branches/EXCHANGE_MAPI_BRANCH/calendar/gui/tasks-component.c	(original)
+++ branches/EXCHANGE_MAPI_BRANCH/calendar/gui/tasks-component.c	Fri Jul 11 11:18:27 2008
@@ -204,6 +204,7 @@
 		/* Create the default Person addressbook */
 		ESource *source = e_source_new (_("Personal"), PERSONAL_RELATIVE_URI);
 		e_source_group_add_source (on_this_computer, source, -1);
+		g_object_unref (source);
 
 		tasks_selected = calendar_config_get_tasks_selected ();
 



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