princeamd pushed a commit to branch enlightenment-0.17.
commit 3b7ef9529997b954f258780bcb888c7088faa403
Author: Deon Thomas <[email protected]>
Date: Wed Jun 26 10:25:06 2013 -0400
Fixed zmike forgot to define BD_CHANGED
---
src/bin/e_border.h | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/src/bin/e_border.h b/src/bin/e_border.h
index af42464..29fe8dd 100644
--- a/src/bin/e_border.h
+++ b/src/bin/e_border.h
@@ -839,5 +839,18 @@ extern EAPI int E_EVENT_BORDER_PROPERTY;
extern EAPI int E_EVENT_BORDER_FULLSCREEN;
extern EAPI int E_EVENT_BORDER_UNFULLSCREEN;
+/* macro for finding misuse of changed flag */
+#if 0
+# define BD_CHANGED(BD) \
+ do { \
+ if (e_object_is_del(E_OBJECT(BD))) \
+ EINA_LOG_CRIT("CHANGED SET ON DELETED BORDER!"); \
+ BD->changed = 1; \
+ INF("%s:%d - BD CHANGED: %p", __FILE__, __LINE__, BD); \
+ } while (0)
+#else
+# define BD_CHANGED(BD) BD->changed = 1
+#endif
+
#endif
#endif
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev