aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/startup-wizard
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 /plugins/startup-wizard
parent6f5464f34ceec9e5701e3e3e651a40f9e6b3a072 (diff)
downloadgsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.gz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.bz2
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.lz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.xz
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.zst
gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.zip
Prefer GLib basic types over C types.
Diffstat (limited to 'plugins/startup-wizard')
-rw-r--r--plugins/startup-wizard/startup-wizard.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/startup-wizard/startup-wizard.c b/plugins/startup-wizard/startup-wizard.c
index 71fb4d4ff1..cc8168159b 100644
--- a/plugins/startup-wizard/startup-wizard.c
+++ b/plugins/startup-wizard/startup-wizard.c
@@ -101,7 +101,7 @@ startup_wizard_importer_page (EPlugin *ep, EConfigHookItemFactoryData *hook_data
{
GtkWidget *page, *label, *sep, *table;
GSList *l;
- int row=0;
+ gint row=0;
if (import == NULL) {
import = e_import_new("org.gnome.evolution.shell.importer");
@@ -123,7 +123,7 @@ startup_wizard_importer_page (EPlugin *ep, EConfigHookItemFactoryData *hook_data
table = gtk_table_new(g_slist_length(import_importers), 2, FALSE);
for (l = import_importers; l; l = l->next) {
EImportImporter *eii = l->data;
- char *str;
+ gchar *str;
/* *label already declared */
GtkWidget *w, *label;
@@ -150,21 +150,21 @@ startup_wizard_importer_page (EPlugin *ep, EConfigHookItemFactoryData *hook_data
}
static void
-import_status(EImport *import, const char *what, int pc, void *d)
+import_status(EImport *import, const gchar *what, gint pc, gpointer d)
{
gtk_progress_bar_set_fraction((GtkProgressBar *)import_progress, (gfloat)(pc/100.0));
gtk_progress_bar_set_text((GtkProgressBar *)import_progress, what);
}
static void
-import_dialog_response(GtkDialog *d, guint button, void *data)
+import_dialog_response(GtkDialog *d, guint button, gpointer data)
{
if (button == GTK_RESPONSE_CANCEL)
e_import_cancel(import, (EImportTarget *)import_target, import_importer);
}
static void
-import_done(EImport *ei, void *d)
+import_done(EImport *ei, gpointer d)
{
if (import_iterator && (import_iterator = import_iterator->next)) {
import_status(ei, "", 0, NULL);
@@ -188,7 +188,7 @@ import_done(EImport *ei, void *d)
void
startup_wizard_commit (EPlugin *ep, EMConfigTargetAccount *target)
{
- char *location;
+ gchar *location;
/* Use System Timezone by default */
calendar_config_set_use_system_timezone (TRUE);