From 6d0c4d43f802b0f7327ed9333d80659cd203f5fa Mon Sep 17 00:00:00 2001 From: raster Date: Sun, 13 Feb 2011 14:58:38 +0000 Subject: [PATCH] annoy people using elm's widget api! git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@56987 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/edje_externals/Makefile.am | 2 +- src/lib/Makefile.am | 2 +- src/lib/elm_widget.h | 10 ++++++++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/edje_externals/Makefile.am b/src/edje_externals/Makefile.am index 58b2bc7..b2c11cf 100644 --- a/src/edje_externals/Makefile.am +++ b/src/edje_externals/Makefile.am @@ -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) \ diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am index af9bb49..27abe42 100644 --- a/src/lib/Makefile.am +++ b/src/lib/Makefile.am @@ -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) \ diff --git a/src/lib/elm_widget.h b/src/lib/elm_widget.h index 98a17f5..3cfdf38 100644 --- a/src/lib/elm_widget.h +++ b/src/lib/elm_widget.h @@ -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 -- 2.7.4