aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-profile-event.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 /e-util/e-profile-event.c
parentcc3a98fc1ad5bb87aa7335f3de404ee7feee1541 (diff)
downloadgsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.gz
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.bz2
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.lz
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.xz
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.zst
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.zip
Prefer GLib basic types over C types.
Diffstat (limited to 'e-util/e-profile-event.c')
-rw-r--r--e-util/e-profile-event.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/e-util/e-profile-event.c b/e-util/e-profile-event.c
index ee98ad8b75..297fcf5739 100644
--- a/e-util/e-profile-event.c
+++ b/e-util/e-profile-event.c
@@ -109,7 +109,7 @@ EProfileEvent *e_profile_event_peek(void)
}
EProfileEventTarget *
-e_profile_event_target_new(EProfileEvent *eme, const char *id, const char *uid, guint32 flags)
+e_profile_event_target_new(EProfileEvent *eme, const gchar *id, const gchar *uid, guint32 flags)
{
EProfileEventTarget *t = e_event_target_new(&eme->popup, E_PROFILE_EVENT_TARGET, sizeof(*t));
GTimeVal tv;
@@ -126,7 +126,7 @@ e_profile_event_target_new(EProfileEvent *eme, const char *id, const char *uid,
#ifdef ENABLE_PROFILING
void
-e_profile_event_emit(const char *id, const char *uid, guint32 flags)
+e_profile_event_emit(const gchar *id, const gchar *uid, guint32 flags)
{
EProfileEvent *epe = e_profile_event_peek();
EProfileEventTarget *t = e_profile_event_target_new(epe, id, uid, flags);
@@ -137,14 +137,14 @@ e_profile_event_emit(const char *id, const char *uid, guint32 flags)
/* simply keep macro from header file expand to "nothing".
#undef e_profile_event_emit
static void
-e_profile_event_emit(const char *id, const char *uid, guint32 flags)
+e_profile_event_emit(const gchar *id, const gchar *uid, guint32 flags)
{
}*/
#endif
/* ********************************************************************** */
-static void *emeh_parent_class;
+static gpointer emeh_parent_class;
#define emeh ((EProfileEventHook *)eph)
static const EEventHookTargetMask emeh_profile_masks[] = {
@@ -170,7 +170,7 @@ emeh_finalise(GObject *o)
static void
emeh_class_init(EPluginHookClass *klass)
{
- int i;
+ gint i;
((GObjectClass *)klass)->finalize = emeh_finalise;
((EPluginHookClass *)klass)->id = "org.gnome.evolution.profile.events:1.0";