[evolution] Bug #661265 - Move to Calendar breaks google:// URI



commit 4d8184375548607d714be858166ec3424db0e556
Author: Milan Crha <mcrha redhat com>
Date:   Tue Feb 21 19:29:15 2012 +0100

    Bug #661265 - Move to Calendar breaks google:// URI

 calendar/gui/dialogs/select-source-dialog.c |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/calendar/gui/dialogs/select-source-dialog.c b/calendar/gui/dialogs/select-source-dialog.c
index 6a768e5..12bceb2 100644
--- a/calendar/gui/dialogs/select-source-dialog.c
+++ b/calendar/gui/dialogs/select-source-dialog.c
@@ -76,17 +76,9 @@ select_source_dialog (GtkWindow *parent,
 
 	if (gtk_dialog_run (GTK_DIALOG (dialog)) == GTK_RESPONSE_OK) {
 		selected_source = e_source_selector_dialog_peek_primary_selection (E_SOURCE_SELECTOR_DIALOG (dialog));
-		if (selected_source) {
-			gchar *absolute_uri;
-
-			/* set the absolute URI on the source we keep around, since the group
-			 * will be unrefed */
-			absolute_uri = e_source_build_absolute_uri (selected_source);
-			e_source_set_absolute_uri (selected_source, (const gchar *) absolute_uri);
 
+		if (selected_source)
 			g_object_ref (selected_source);
-			g_free (absolute_uri);
-		}
 	} else
 		selected_source = NULL;
 



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