aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2012-02-22 02:29:15 +0800
committerMilan Crha <mcrha@redhat.com>2012-02-22 02:30:15 +0800
commit4d8184375548607d714be858166ec3424db0e556 (patch)
tree70d9a17f7856cfee7a7aa8aa557d8d828c41b3fd /calendar/gui
parent208035a29399d3da99ebf49fde87659681581186 (diff)
downloadgsoc2013-evolution-4d8184375548607d714be858166ec3424db0e556.tar.gz
gsoc2013-evolution-4d8184375548607d714be858166ec3424db0e556.tar.zst
gsoc2013-evolution-4d8184375548607d714be858166ec3424db0e556.zip
Bug #661265 - Move to Calendar breaks google:// URI
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/select-source-dialog.c10
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 6a768e5b7a..12bceb2ca8 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;