From c96106df2c7bd635d7142454b66023c25f149d85 Mon Sep 17 00:00:00 2001 From: Gustavo Lima Chaves Date: Thu, 5 Jul 2012 14:37:18 +0000 Subject: [PATCH] [elm] Fix missing initializer on base smart class. Please explain this new access virtual. Patch by: Gustavo Lima Chaves SVN revision: 73359 --- legacy/elementary/src/lib/elm_widget.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/legacy/elementary/src/lib/elm_widget.h b/legacy/elementary/src/lib/elm_widget.h index c4294bef0d..cfd7a7dc85 100644 --- a/legacy/elementary/src/lib/elm_widget.h +++ b/legacy/elementary/src/lib/elm_widget.h @@ -356,7 +356,7 @@ */ #define ELM_WIDGET_SMART_CLASS_INIT(smart_class_init) \ {smart_class_init, ELM_WIDGET_SMART_CLASS_VERSION, NULL, NULL, NULL, NULL, \ - NULL, NULL, NULL, NULL, NULL} + NULL, NULL, NULL, NULL, NULL, NULL} /** * @def ELM_WIDGET_SMART_CLASS_INIT_NULL @@ -394,6 +394,9 @@ #define ELM_WIDGET_SMART_CLASS_INIT_NAME_VERSION(name) \ ELM_WIDGET_SMART_CLASS_INIT(EVAS_SMART_CLASS_INIT_NAME_VERSION(name)) +/* Please, ALWAYS update the ELM_WIDGET_SMART_CLASS_INIT macro + * whenever you change the following struct! */ + /** * Base widget smart class. It has the 'virtual' functions for all * general, common actions on Elementary widgets.