annoy people using elm's widget api!

SVN revision: 56987
This commit is contained in:
Carsten Haitzler 2011-02-13 14:58:38 +00:00
parent eb7a0308c3
commit 66dbccf4c9
3 changed files with 10 additions and 4 deletions

View File

@ -1,7 +1,7 @@
MAINTAINERCLEANFILES = Makefile.in
AM_CPPFLAGS = \
-DELM_INTERAL_API_MDFGELQ=1 \
-DELM_INTERAL_API_ARGESFSDFEFC=1 \
-I. \
-I$(top_builddir) \
-I$(top_srcdir) \

View File

@ -2,7 +2,7 @@ AUTOMAKE_OPTIONS = 1.4 foreign
MAINTAINERCLEANFILES = Makefile.in
AM_CPPFLAGS = \
-DELM_INTERAL_API_MDFGELQ=1 \
-DELM_INTERAL_API_ARGESFSDFEFC=1 \
-I. \
-I$(top_builddir) \
-I$(top_srcdir) \

View File

@ -175,12 +175,18 @@
*
*/
#ifndef ELM_INTERAL_API_MDFGELQ
#ifndef ELM_INTERAL_API_ARGESFSDFEFC
# warning "You are using an internal elementary API. This API is not stable"
# warning "and is subject to change. You use this at your own risk."
# warning "Remember to call elm_widget_api_check(ELM_INTERNAL_API_VERSION);"
# warning "in your widgets before you call any other elm_widget calls to do"
# warning "a correct runtime version check."
# warning "a correct runtime version check. Also remember - you don't NEED"
# warning "to make an Elementary widget is almost ALL cases. You can easily"
# warning "make a smart object with Evas's API and do everything you need"
# warning "there. You only need a widget if you want to seamlessly be part"
# warning "of the focus tree and want to transparently become a container"
# warning "for any number of child Elementary widgets"
# error "ERROR. Compile aborted."
#endif
#define ELM_INTERNAL_API_VERSION 7000