From 59ea710a67311c57039c696855869aa0af84fb67 Mon Sep 17 00:00:00 2001 From: Rodney Dawes Date: Mon, 2 May 2005 16:46:14 +0000 Subject: This method is a no-op if we are building without ENABLE_PROFILE defined, 2005-05-02 Rodney Dawes * 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 svn path=/trunk/; revision=29259 --- e-util/ChangeLog | 6 ++++++ e-util/e-profile-event.h | 4 ---- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'e-util') 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 + + * 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 * 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 /* ********************************************************************** */ -- cgit v1.2.3