aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/comp-editor-factory.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 /calendar/gui/comp-editor-factory.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 'calendar/gui/comp-editor-factory.c')
-rw-r--r--calendar/gui/comp-editor-factory.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/calendar/gui/comp-editor-factory.c b/calendar/gui/comp-editor-factory.c
index b98f7170ed..a217254b18 100644
--- a/calendar/gui/comp-editor-factory.c
+++ b/calendar/gui/comp-editor-factory.c
@@ -56,7 +56,7 @@ typedef struct {
union {
struct {
- char *uid;
+ gchar *uid;
} existing;
struct {
@@ -71,13 +71,13 @@ typedef struct {
CompEditorFactory *factory;
/* Uri of the calendar, used as key in the clients hash table */
- char *uri;
+ gchar *uri;
/* Client of the calendar */
ECal *client;
/* Count editors using this client */
- int editor_count;
+ gint editor_count;
/* Pending requests; they are pending if the client is still being opened */
GSList *pending;
@@ -232,7 +232,7 @@ editor_destroy_cb (GtkObject *object, gpointer data)
/* Starts editing an existing component on a client that is already open */
static void
-edit_existing (OpenClient *oc, const char *uid)
+edit_existing (OpenClient *oc, const gchar *uid)
{
ECalComponent *comp;
icalcomponent *icalcomp;
@@ -451,7 +451,7 @@ cal_opened_cb (ECal *client, ECalendarStatus status, gpointer data)
* open request.
*/
static OpenClient *
-open_client (CompEditorFactory *factory, ECalSourceType source_type, const char *uristr)
+open_client (CompEditorFactory *factory, ECalSourceType source_type, const gchar *uristr)
{
CompEditorFactoryPrivate *priv;
ECal *client;
@@ -495,7 +495,7 @@ open_client (CompEditorFactory *factory, ECalSourceType source_type, const char
* NULL on failure; in the latter case it sets the ev exception.
*/
static OpenClient *
-lookup_open_client (CompEditorFactory *factory, ECalSourceType source_type, const char *str_uri, CORBA_Environment *ev)
+lookup_open_client (CompEditorFactory *factory, ECalSourceType source_type, const gchar *str_uri, CORBA_Environment *ev)
{
CompEditorFactoryPrivate *priv;
OpenClient *oc;
@@ -526,7 +526,7 @@ lookup_open_client (CompEditorFactory *factory, ECalSourceType source_type, cons
/* Queues a request for editing an existing object */
static void
-queue_edit_existing (OpenClient *oc, const char *uid)
+queue_edit_existing (OpenClient *oc, const gchar *uid)
{
Request *request;