aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-selection.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-27 22:29:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-27 22:29:19 +0800
commit948235c3d1076dbe6ed2e57a24c16a083bbd9f01 (patch)
tree4133b1adfd94d8f889ca7ad4ad851346518f4171 /mail/em-folder-selection.c
parentcc3a98fc1ad5bb87aa7335f3de404ee7feee1541 (diff)
downloadgsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.gz
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.zst
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.zip
Prefer GLib basic types over C types.
Diffstat (limited to 'mail/em-folder-selection.c')
-rw-r--r--mail/em-folder-selection.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/mail/em-folder-selection.c b/mail/em-folder-selection.c
index 07c0bfdcff..a0528554d6 100644
--- a/mail/em-folder-selection.c
+++ b/mail/em-folder-selection.c
@@ -38,15 +38,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);
}
@@ -55,9 +55,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;