diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-27 23:13:25 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-29 00:13:23 +0800 |
commit | fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056 (patch) | |
tree | ae78be371695c3dc18847b87d3f014f985aa3a40 /mail/em-folder-selection.c | |
parent | 6f5464f34ceec9e5701e3e3e651a40f9e6b3a072 (diff) | |
download | gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.gz gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.zst gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.zip |
Prefer GLib basic types over C types.
Diffstat (limited to 'mail/em-folder-selection.c')
-rw-r--r-- | mail/em-folder-selection.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/mail/em-folder-selection.c b/mail/em-folder-selection.c index cfb244c2eb..8fe6292e32 100644 --- a/mail/em-folder-selection.c +++ b/mail/em-folder-selection.c @@ -37,15 +37,15 @@ /* TODO: rmeove this file, it could just go on em-folder-selection or em-utils */ struct _select_folder_data { - void (*done) (const char *uri, void *data); - void *data; + void (*done) (const gchar *uri, gpointer data); + gpointer data; }; static void -emfs_selector_response(EMFolderSelector *emfs, int response, struct _select_folder_data *d) +emfs_selector_response(EMFolderSelector *emfs, gint response, struct _select_folder_data *d) { if (response == GTK_RESPONSE_OK) { - const char *uri = em_folder_selector_get_selected_uri(emfs); + const gchar *uri = em_folder_selector_get_selected_uri(emfs); d->done(uri, d->data); } @@ -54,9 +54,9 @@ emfs_selector_response(EMFolderSelector *emfs, int response, struct _select_fold } void -em_select_folder (GtkWindow *parent_window, const char *title, const char *oklabel, const char *default_uri, +em_select_folder (GtkWindow *parent_window, const gchar *title, const gchar *oklabel, const gchar *default_uri, EMFTExcludeFunc exclude, - void (*done) (const char *uri, void *user_data), void *user_data) + void (*done) (const gchar *uri, gpointer user_data), gpointer user_data) { struct _select_folder_data *d; EMFolderTreeModel *model; |