aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-profile-event.h
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-profile-event.h')
-rw-r--r--e-util/e-profile-event.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/e-util/e-profile-event.h b/e-util/e-profile-event.h
index 3429184f89..dd57d58a82 100644
--- a/e-util/e-profile-event.h
+++ b/e-util/e-profile-event.h
@@ -80,7 +80,12 @@ EProfileEvent *e_profile_event_peek(void);
EProfileEventTarget *e_profile_event_target_new(EProfileEvent *emp, const char *id, const char *uid, guint32 flags);
+/* we don't want ANY rubbish code lying around if we have profiling off */
+#ifdef ENABLE_PROFILING
void e_profile_event_emit(const char *id, const char *uid, guint32 flags);
+#else
+#define e_profile_event_emit(a, b, c)
+#endif
/* ********************************************************************** */