diff --git a/pages/develop/e/sandbox_gadgets.md.txt b/pages/develop/e/sandbox_gadgets.md.txt index 28e968b08..5d6554d88 100644 --- a/pages/develop/e/sandbox_gadgets.md.txt +++ b/pages/develop/e/sandbox_gadgets.md.txt @@ -83,17 +83,7 @@ elm_main(int argc, char **argv) Compile it (and other examples on this page) with: - cc example.c -o example `pkg-config --cflags --libs enlightenment` - -If ''pkg-config'' is complaining about not finding Elementary you may -want to adjust your ''PKG_CONFIG_PATH'' environment variable to point -to where the ''.pc'' files are installed. Perhaps like: - - export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH - -Please see this nice page -[[http://people.freedesktop.org/~dbn/pkg-config-guide.html|about pkg-config]] -Which should tell you what it is and how it works if you are having trouble. + cc example.c -o example `pkg-config --cflags --libs enlightenment` The variable ``gadget`` is used to determine if the application is running as a gadget or as a standalone application. The variable ``id_num`` is used to identify the ID of the gadget, if the application is indeed running as a gadget. If the application is running as a gadget, the window is set to alpha so that the background of the window does not show up. This is for aesthetics purposes so that gadgets on gadget sites don't all have a background.