aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--e-util/ChangeLog6
-rw-r--r--e-util/e-profile-event.h4
2 files changed, 6 insertions, 4 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 5eba0fe6a2..fd455769b2 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,9 @@
+2005-05-02 Rodney Dawes <dobey@novell.com>
+
+ * e-profile-event.h (e_profile_event_emit): This method is a no-op if
+ we are building without ENABLE_PROFILE defined, so we don't need to
+ define a macro to no-op it, and change ABI at compile time
+
2005-04-28 Not Zed <NotZed@Ximian.com>
* e-profile-event.[ch]: A profiling plugin hook.
diff --git a/e-util/e-profile-event.h b/e-util/e-profile-event.h
index ad6d52d204..3429184f89 100644
--- a/e-util/e-profile-event.h
+++ b/e-util/e-profile-event.h
@@ -80,11 +80,7 @@ EProfileEvent *e_profile_event_peek(void);
EProfileEventTarget *e_profile_event_target_new(EProfileEvent *emp, const char *id, const char *uid, guint32 flags);
-#ifndef ENABLE_PROFILING
-#define e_profile_event_emit(id, uid, flags)
-#else
void e_profile_event_emit(const char *id, const char *uid, guint32 flags);
-#endif
/* ********************************************************************** */