aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/select-source-dialog.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-27 23:13:25 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-29 00:13:23 +0800
commitfad4af8a3d4c6f50f7bcceca8d545eb17d6fd056 (patch)
treeae78be371695c3dc18847b87d3f014f985aa3a40 /calendar/gui/dialogs/select-source-dialog.c
parent6f5464f34ceec9e5701e3e3e651a40f9e6b3a072 (diff)
downloadgsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.gz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.zst
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.zip
Prefer GLib basic types over C types.
Diffstat (limited to 'calendar/gui/dialogs/select-source-dialog.c')
-rw-r--r--calendar/gui/dialogs/select-source-dialog.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/calendar/gui/dialogs/select-source-dialog.c b/calendar/gui/dialogs/select-source-dialog.c
index f73af156b0..462ed7d82a 100644
--- a/calendar/gui/dialogs/select-source-dialog.c
+++ b/calendar/gui/dialogs/select-source-dialog.c
@@ -40,7 +40,7 @@ select_source_dialog (GtkWindow *parent, ECalSourceType obj_type)
GtkWidget *dialog;
ESourceList *source_list;
ESource *selected_source = NULL;
- const char *gconf_key;
+ const gchar *gconf_key;
GConfClient *conf_client;
const gchar *icon_name = NULL;
@@ -72,12 +72,12 @@ select_source_dialog (GtkWindow *parent, ECalSourceType obj_type)
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) {
- char *absolute_uri;
+ 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 char *) absolute_uri);
+ e_source_set_absolute_uri (selected_source, (const gchar *) absolute_uri);
g_object_ref (selected_source);
g_free (absolute_uri);