diff options
author | Rodney Dawes <dobey@novell.com> | 2005-05-03 00:46:14 +0800 |
---|---|---|
committer | Rodney Dawes <dobey@src.gnome.org> | 2005-05-03 00:46:14 +0800 |
commit | 59ea710a67311c57039c696855869aa0af84fb67 (patch) | |
tree | 81082bf937e63e603c48b6c046a6e0e49c0b8d5b /e-util | |
parent | c3a1fe7200f6aa64ecabfa4e53f4cb1adee40585 (diff) | |
download | gsoc2013-evolution-59ea710a67311c57039c696855869aa0af84fb67.tar gsoc2013-evolution-59ea710a67311c57039c696855869aa0af84fb67.tar.gz gsoc2013-evolution-59ea710a67311c57039c696855869aa0af84fb67.tar.bz2 gsoc2013-evolution-59ea710a67311c57039c696855869aa0af84fb67.tar.lz gsoc2013-evolution-59ea710a67311c57039c696855869aa0af84fb67.tar.xz gsoc2013-evolution-59ea710a67311c57039c696855869aa0af84fb67.tar.zst gsoc2013-evolution-59ea710a67311c57039c696855869aa0af84fb67.zip |
This method is a no-op if we are building without ENABLE_PROFILE defined,
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
svn path=/trunk/; revision=29259
Diffstat (limited to 'e-util')
-rw-r--r-- | e-util/ChangeLog | 6 | ||||
-rw-r--r-- | e-util/e-profile-event.h | 4 |
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 /* ********************************************************************** */ |