elementary/doc - Remove annoying warnings from widget previews.
authorantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 28 Jul 2011 21:27:42 +0000 (21:27 +0000)
committerantognolli <antognolli@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 28 Jul 2011 21:27:42 +0000 (21:27 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@61870 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

doc/widgets/widget_preview_tmpl_head.c

index 636fd5b..cfec07d 100644 (file)
@@ -1,7 +1,12 @@
 #include <Elementary.h>
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#else
+# define __UNUSED__
+#endif
 
 EAPI int
-elm_main(int argc, char **argv)
+elm_main(int argc __UNUSED__, char **argv)
 {
    Evas_Object *win, *bg;
    Evas_Coord w, h;