aboutsummaryrefslogtreecommitdiffstats
path: root/shell/importer/evolution-importer-client.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 /shell/importer/evolution-importer-client.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 'shell/importer/evolution-importer-client.c')
-rw-r--r--shell/importer/evolution-importer-client.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/shell/importer/evolution-importer-client.c b/shell/importer/evolution-importer-client.c
index 06d30d5733..66a82836e3 100644
--- a/shell/importer/evolution-importer-client.c
+++ b/shell/importer/evolution-importer-client.c
@@ -92,7 +92,7 @@ evolution_importer_client_new (const CORBA_Object objref)
* Returns: A newly created EvolutionImporterClient.
*/
EvolutionImporterClient *
-evolution_importer_client_new_from_id (const char *id)
+evolution_importer_client_new_from_id (const gchar *id)
{
CORBA_Environment ev;
CORBA_Object objref;
@@ -100,7 +100,7 @@ evolution_importer_client_new_from_id (const char *id)
g_return_val_if_fail (id != NULL, NULL);
CORBA_exception_init (&ev);
- objref = bonobo_activation_activate_from_id ((char *) id, 0, NULL, &ev);
+ objref = bonobo_activation_activate_from_id ((gchar *) id, 0, NULL, &ev);
if (ev._major != CORBA_NO_EXCEPTION) {
CORBA_exception_free (&ev);
g_warning ("Could not start %s.", id);
@@ -154,7 +154,7 @@ evolution_importer_client_create_control (EvolutionImporterClient *client)
*/
gboolean
evolution_importer_client_support_format (EvolutionImporterClient *client,
- const char *filename)
+ const gchar *filename)
{
GNOME_Evolution_Importer corba_importer;
gboolean result;
@@ -185,7 +185,7 @@ evolution_importer_client_support_format (EvolutionImporterClient *client,
* Returns: TRUE on sucess, FALSE on failure.
*/
gboolean
-evolution_importer_client_load_file (EvolutionImporterClient *client, const char *filename)
+evolution_importer_client_load_file (EvolutionImporterClient *client, const gchar *filename)
{
GNOME_Evolution_Importer corba_importer;
gboolean result;
@@ -248,7 +248,7 @@ evolution_importer_client_process_item (EvolutionImporterClient *client,
* Returns: The error as a string. If there is no error NULL is returned.
* Importers need not support this method and if so, NULL is also returned.
*/
-const char *
+const gchar *
evolution_importer_client_get_error (EvolutionImporterClient *client)
{
GNOME_Evolution_Importer corba_importer;