diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-06-03 04:52:01 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-06-03 04:52:01 +0800 |
commit | ceea3a0a1feaa25b8022852b52b7dab1bdf5eb5d (patch) | |
tree | 55a3020880ccdde5a4a53bb7649d4f3efc5e2de2 /plugins/publish-calendar | |
parent | 184ec36d35db3c2e0377a1845390070a23a7cf64 (diff) | |
download | gsoc2013-evolution-ceea3a0a1feaa25b8022852b52b7dab1bdf5eb5d.tar gsoc2013-evolution-ceea3a0a1feaa25b8022852b52b7dab1bdf5eb5d.tar.gz gsoc2013-evolution-ceea3a0a1feaa25b8022852b52b7dab1bdf5eb5d.tar.bz2 gsoc2013-evolution-ceea3a0a1feaa25b8022852b52b7dab1bdf5eb5d.tar.lz gsoc2013-evolution-ceea3a0a1feaa25b8022852b52b7dab1bdf5eb5d.tar.xz gsoc2013-evolution-ceea3a0a1feaa25b8022852b52b7dab1bdf5eb5d.tar.zst gsoc2013-evolution-ceea3a0a1feaa25b8022852b52b7dab1bdf5eb5d.zip |
Reduce diff noise with 'account-mgmt' branch.
One last time.
Diffstat (limited to 'plugins/publish-calendar')
-rw-r--r-- | plugins/publish-calendar/url-editor-dialog.c | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/plugins/publish-calendar/url-editor-dialog.c b/plugins/publish-calendar/url-editor-dialog.c index 2d9efb6380..35910db8c7 100644 --- a/plugins/publish-calendar/url-editor-dialog.c +++ b/plugins/publish-calendar/url-editor-dialog.c @@ -25,10 +25,13 @@ #endif #include "url-editor-dialog.h" + +#include <string.h> +#include <glib/gi18n.h> + #include <libedataserverui/e-passwords.h> #include <libedataserver/e-url.h> -#include <glib/gi18n.h> -#include <string.h> + #include <e-util/e-util.h> #include <e-util/e-util-private.h> @@ -588,8 +591,15 @@ url_editor_dialog_run (UrlEditorDialog *dialog) } l = e_source_selector_get_selection (E_SOURCE_SELECTOR (dialog->events_selector)); - for (p = l; p; p = g_slist_next (p)) - dialog->uri->events = g_slist_append (dialog->uri->events, g_strdup (e_source_get_uid (p->data))); + for (p = l; p; p = g_slist_next (p)) { + ESource *source; + const gchar *uid; + + source = E_SOURCE (p->data); + uid = e_source_get_uid (source); + dialog->uri->events = g_slist_append ( + dialog->uri->events, g_strdup (uid)); + } } gtk_widget_hide (GTK_WIDGET (dialog)); |