aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/ipod-sync/sync.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 /plugins/ipod-sync/sync.c
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/ipod-sync/sync.c')
-rw-r--r--plugins/ipod-sync/sync.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/plugins/ipod-sync/sync.c b/plugins/ipod-sync/sync.c
index 8fe83d1b5a..cc2febc5e3 100644
--- a/plugins/ipod-sync/sync.c
+++ b/plugins/ipod-sync/sync.c
@@ -50,7 +50,7 @@ static void pulse (void)
/**
* Something bad happened.
*/
-static void error_dialog (char *title, char *error)
+static void error_dialog (gchar *title, gchar *error)
{
GtkWidget *error_dlg =
gtk_message_dialog_new (NULL, 0, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK,
@@ -71,7 +71,7 @@ static void error_dialog (char *title, char *error)
/**
* Something really bad happened.
*/
-static void critical_error (char *title, char *error)
+static void critical_error (gchar *title, gchar *error)
{
error_dialog (title, error);
gtk_main_quit ();
@@ -79,7 +79,7 @@ static void critical_error (char *title, char *error)
}
static GSList *
-get_source_uris_for_type (char *key)
+get_source_uris_for_type (gchar *key)
{
ESourceList *sources;
GSList *groups;
@@ -124,9 +124,9 @@ free_uri_list (GSList *uris)
* Note: data must be of even length.
*/
static void
-force_little_endian (gunichar2 *data, int length)
+force_little_endian (gunichar2 *data, gint length)
{
- int i;
+ gint i;
/* We're big-endian?
(A little tidier than before) */
@@ -151,10 +151,10 @@ force_little_endian (gunichar2 *data, int length)
* display an error dialog and end the program.
*/
static void
-write_to_ipod (GString *str, char *path, char *filename)
+write_to_ipod (GString *str, gchar *path, gchar *filename)
{
- char *output_path;
- char *output_file;
+ gchar *output_path;
+ gchar *output_file;
FILE *f;
guchar *utf8;
gunichar2 *utf16;