elementary/doc - Remove annoying warnings from widget previews.
authorRafael Antognolli <antognolli@gmail.com>
Thu, 28 Jul 2011 21:27:42 +0000 (21:27 +0000)
committerRafael Antognolli <antognolli@gmail.com>
Thu, 28 Jul 2011 21:27:42 +0000 (21:27 +0000)
SVN revision: 61870

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;