cedric pushed a commit to branch master.
commit f599adb590582949b5932dd000c2563e69690de8
Author: Cedric Bail <[email protected]>
Date: Fri Apr 26 14:13:00 2013 +0900
elementary: properly sanitize headers order.
---
src/lib/elc_ctxpopup.c | 5 +++++
src/lib/elc_fileselector.c | 3 +++
src/lib/elc_fileselector_button.c | 4 ++++
src/lib/elc_fileselector_entry.c | 3 +++
src/lib/elc_hoversel.c | 4 ++++
src/lib/elc_multibuttonentry.c | 4 ++++
src/lib/elc_naviframe.c | 4 ++++
src/lib/elc_player.c | 4 ++++
src/lib/elc_popup.c | 4 ++++
src/lib/elc_scrolled_entry.c | 4 ++++
src/lib/elm_access.c | 4 ++++
src/lib/elm_actionslider.c | 4 ++++
src/lib/elm_bg.c | 4 ++++
src/lib/elm_box.c | 4 ++++
src/lib/elm_bubble.c | 4 ++++
src/lib/elm_button.c | 4 ++++
src/lib/elm_calendar.c | 4 ++++
src/lib/elm_check.c | 4 ++++
src/lib/elm_clock.c | 4 ++++
src/lib/elm_colorselector.c | 4 ++++
src/lib/elm_conform.c | 4 ++++
src/lib/elm_container.c | 4 ++++
src/lib/elm_datetime.c | 4 ++++
src/lib/elm_dayselector.c | 4 ++++
src/lib/elm_dbus_menu.c | 4 ++++
src/lib/elm_diskselector.c | 4 ++++
src/lib/elm_entry.c | 4 ++++
src/lib/elm_factory.c | 4 ++++
src/lib/elm_flip.c | 4 ++++
src/lib/elm_flipselector.c | 4 ++++
src/lib/elm_frame.c | 4 ++++
src/lib/elm_gengrid.c | 4 ++++
src/lib/elm_genlist.c | 6 ++++++
src/lib/elm_gesture_layer.c | 4 ++++
src/lib/elm_glview.c | 5 +++++
src/lib/elm_grid.c | 5 +++++
src/lib/elm_hover.c | 5 +++++
src/lib/elm_icon.c | 5 +++++
src/lib/elm_image.c | 5 +++++
src/lib/elm_index.c | 5 +++++
src/lib/elm_interface_scrollable.c | 5 +++++
src/lib/elm_inwin.c | 6 +++++-
src/lib/elm_label.c | 5 +++++
src/lib/elm_layout.c | 5 +++++
src/lib/elm_list.c | 5 +++++
src/lib/elm_map.c | 5 +++++
src/lib/elm_mapbuf.c | 5 +++++
src/lib/elm_menu.c | 5 +++++
src/lib/elm_module.c | 10 +++++-----
src/lib/elm_notify.c | 5 +++++
src/lib/elm_panel.c | 5 +++++
src/lib/elm_panes.c | 5 +++++
src/lib/elm_photo.c | 5 +++++
src/lib/elm_photocam.c | 5 +++++
src/lib/elm_plug.c | 5 +++++
src/lib/elm_prefs.c | 5 +++++
src/lib/elm_priv.h | 3 ---
src/lib/elm_progressbar.c | 5 +++++
src/lib/elm_radio.c | 5 +++++
src/lib/elm_route.c | 5 +++++
src/lib/elm_scroller.c | 5 +++++
src/lib/elm_segment_control.c | 5 +++++
src/lib/elm_separator.c | 5 +++++
src/lib/elm_slider.c | 5 +++++
src/lib/elm_slideshow.c | 5 +++++
src/lib/elm_spinner.c | 5 +++++
src/lib/elm_store.c | 5 +++++
src/lib/elm_sys_notify.c | 5 +++++
src/lib/elm_systray.c | 7 ++++++-
src/lib/elm_systray_watcher.c | 7 ++++++-
src/lib/elm_table.c | 5 +++++
src/lib/elm_theme.c | 5 +++++
src/lib/elm_thumb.c | 5 +++++
src/lib/elm_toolbar.c | 5 +++++
src/lib/elm_transit.c | 5 +++++
src/lib/elm_util.c | 2 ++
src/lib/elm_video.c | 5 +++++
src/lib/elm_web.c | 5 +++++
src/lib/elm_web2.c | 5 +++++
src/lib/elm_widget.c | 5 +++++
src/lib/elm_win.c | 5 +++++
src/lib/els_box.c | 5 +++++
src/lib/els_cursor.c | 5 +++++
src/lib/els_pan.c | 5 +++++
src/lib/els_tooltip.c | 5 +++++
src/lib/elu_ews_wm.c | 5 +++++
86 files changed, 391 insertions(+), 11 deletions(-)
diff --git a/src/lib/elc_ctxpopup.c b/src/lib/elc_ctxpopup.c
index af1acd0..0e722ae 100644
--- a/src/lib/elc_ctxpopup.c
+++ b/src/lib/elc_ctxpopup.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_ctxpopup.h"
diff --git a/src/lib/elc_fileselector.c b/src/lib/elc_fileselector.c
index 98a3634..4a7d001 100644
--- a/src/lib/elc_fileselector.c
+++ b/src/lib/elc_fileselector.c
@@ -9,6 +9,9 @@
* - make variable/function names that are sensible
* - Filter support
*/
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
#include <Elementary.h>
#include "elm_priv.h"
diff --git a/src/lib/elc_fileselector_button.c
b/src/lib/elc_fileselector_button.c
index e6dc4a8..20c5064 100644
--- a/src/lib/elc_fileselector_button.c
+++ b/src/lib/elc_fileselector_button.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_widget_fileselector_button.h"
diff --git a/src/lib/elc_fileselector_entry.c b/src/lib/elc_fileselector_entry.c
index e399fb5..f76f8df 100644
--- a/src/lib/elc_fileselector_entry.c
+++ b/src/lib/elc_fileselector_entry.c
@@ -1,4 +1,7 @@
//FIXME this widget should inherit from file selector button
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
#include <Elementary.h>
#include "elm_priv.h"
diff --git a/src/lib/elc_hoversel.c b/src/lib/elc_hoversel.c
index a863866..ff64d85 100644
--- a/src/lib/elc_hoversel.c
+++ b/src/lib/elc_hoversel.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_widget_hoversel.h"
diff --git a/src/lib/elc_multibuttonentry.c b/src/lib/elc_multibuttonentry.c
index d31f02f..74ea277 100644
--- a/src/lib/elc_multibuttonentry.c
+++ b/src/lib/elc_multibuttonentry.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_widget_multibuttonentry.h"
diff --git a/src/lib/elc_naviframe.c b/src/lib/elc_naviframe.c
index 18011ab..42c5e1f 100644
--- a/src/lib/elc_naviframe.c
+++ b/src/lib/elc_naviframe.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_widget_naviframe.h"
diff --git a/src/lib/elc_player.c b/src/lib/elc_player.c
index 3e7bc46..183741e 100644
--- a/src/lib/elc_player.c
+++ b/src/lib/elc_player.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_widget_layout.h"
diff --git a/src/lib/elc_popup.c b/src/lib/elc_popup.c
index 304bc59..d86f7f7 100644
--- a/src/lib/elc_popup.c
+++ b/src/lib/elc_popup.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_widget_popup.h"
diff --git a/src/lib/elc_scrolled_entry.c b/src/lib/elc_scrolled_entry.c
index e9e7725..629c4a2 100644
--- a/src/lib/elc_scrolled_entry.c
+++ b/src/lib/elc_scrolled_entry.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
EINA_DEPRECATED EAPI Evas_Object *
diff --git a/src/lib/elm_access.c b/src/lib/elm_access.c
index a7fc57e..a6120ad 100644
--- a/src/lib/elm_access.c
+++ b/src/lib/elm_access.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
diff --git a/src/lib/elm_actionslider.c b/src/lib/elm_actionslider.c
index 9db30ed..66c8f4b 100644
--- a/src/lib/elm_actionslider.c
+++ b/src/lib/elm_actionslider.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include <math.h>
#include "elm_priv.h"
diff --git a/src/lib/elm_bg.c b/src/lib/elm_bg.c
index 0e468cb..0f517b9 100644
--- a/src/lib/elm_bg.c
+++ b/src/lib/elm_bg.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_widget_bg.h"
diff --git a/src/lib/elm_box.c b/src/lib/elm_box.c
index addc623..165a62d 100644
--- a/src/lib/elm_box.c
+++ b/src/lib/elm_box.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
#include "els_box.h"
diff --git a/src/lib/elm_bubble.c b/src/lib/elm_bubble.c
index eef17fc..a1094f1 100644
--- a/src/lib/elm_bubble.c
+++ b/src/lib/elm_bubble.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_widget_bubble.h"
diff --git a/src/lib/elm_button.c b/src/lib/elm_button.c
index b6e1b38..e5d2ba1 100644
--- a/src/lib/elm_button.c
+++ b/src/lib/elm_button.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_widget_button.h"
diff --git a/src/lib/elm_calendar.c b/src/lib/elm_calendar.c
index b081410..b115b7e 100644
--- a/src/lib/elm_calendar.c
+++ b/src/lib/elm_calendar.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_widget_calendar.h"
diff --git a/src/lib/elm_check.c b/src/lib/elm_check.c
index 0da47b2..52297a8 100644
--- a/src/lib/elm_check.c
+++ b/src/lib/elm_check.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_widget_check.h"
diff --git a/src/lib/elm_clock.c b/src/lib/elm_clock.c
index 752844a..20c73be 100644
--- a/src/lib/elm_clock.c
+++ b/src/lib/elm_clock.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_widget_clock.h"
diff --git a/src/lib/elm_colorselector.c b/src/lib/elm_colorselector.c
index 03861cf..5595803 100644
--- a/src/lib/elm_colorselector.c
+++ b/src/lib/elm_colorselector.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_widget_colorselector.h"
diff --git a/src/lib/elm_conform.c b/src/lib/elm_conform.c
index 56587f2..c1fd3bd 100644
--- a/src/lib/elm_conform.c
+++ b/src/lib/elm_conform.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_widget_conform.h"
diff --git a/src/lib/elm_container.c b/src/lib/elm_container.c
index 9b9d870..6fe7dcf 100644
--- a/src/lib/elm_container.c
+++ b/src/lib/elm_container.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_widget_container.h"
diff --git a/src/lib/elm_datetime.c b/src/lib/elm_datetime.c
index d91c8a9..0622684 100644
--- a/src/lib/elm_datetime.c
+++ b/src/lib/elm_datetime.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_widget_datetime.h"
diff --git a/src/lib/elm_dayselector.c b/src/lib/elm_dayselector.c
index d95da77..ec9ca72 100644
--- a/src/lib/elm_dayselector.c
+++ b/src/lib/elm_dayselector.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_widget_dayselector.h"
diff --git a/src/lib/elm_dbus_menu.c b/src/lib/elm_dbus_menu.c
index 930d2c6..6774114 100644
--- a/src/lib/elm_dbus_menu.c
+++ b/src/lib/elm_dbus_menu.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include <stdint.h>
#include "elm_priv.h"
diff --git a/src/lib/elm_diskselector.c b/src/lib/elm_diskselector.c
index 5de6f6a..811a715 100644
--- a/src/lib/elm_diskselector.c
+++ b/src/lib/elm_diskselector.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_widget_diskselector.h"
diff --git a/src/lib/elm_entry.c b/src/lib/elm_entry.c
index 360b66c..2826587 100644
--- a/src/lib/elm_entry.c
+++ b/src/lib/elm_entry.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include <Elementary_Cursor.h>
#include "elm_priv.h"
diff --git a/src/lib/elm_factory.c b/src/lib/elm_factory.c
index 25a3d37..88478b6 100644
--- a/src/lib/elm_factory.c
+++ b/src/lib/elm_factory.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
diff --git a/src/lib/elm_flip.c b/src/lib/elm_flip.c
index bbd9d54..e137770 100644
--- a/src/lib/elm_flip.c
+++ b/src/lib/elm_flip.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_widget_flip.h"
diff --git a/src/lib/elm_flipselector.c b/src/lib/elm_flipselector.c
index 9666690..d009ab8 100644
--- a/src/lib/elm_flipselector.c
+++ b/src/lib/elm_flipselector.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_widget_flipselector.h"
diff --git a/src/lib/elm_frame.c b/src/lib/elm_frame.c
index d3621ff..a4aba85 100644
--- a/src/lib/elm_frame.c
+++ b/src/lib/elm_frame.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
#include "elm_widget_frame.h"
diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c
index 1c2f33e..493bca5 100644
--- a/src/lib/elm_gengrid.c
+++ b/src/lib/elm_gengrid.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include <Elementary_Cursor.h>
#include "elm_priv.h"
diff --git a/src/lib/elm_genlist.c b/src/lib/elm_genlist.c
index 8a87b78..d1ca36a 100644
--- a/src/lib/elm_genlist.c
+++ b/src/lib/elm_genlist.c
@@ -1,6 +1,12 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <fnmatch.h>
+
#include <Elementary.h>
#include <Elementary_Cursor.h>
+
#include "elm_priv.h"
#include "elm_widget_genlist.h"
#include "elm_interface_scrollable.h"
diff --git a/src/lib/elm_gesture_layer.c b/src/lib/elm_gesture_layer.c
index c45ed00..218c0b9 100644
--- a/src/lib/elm_gesture_layer.c
+++ b/src/lib/elm_gesture_layer.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include "elm_priv.h"
diff --git a/src/lib/elm_glview.c b/src/lib/elm_glview.c
index b2f7a36..a96a940 100644
--- a/src/lib/elm_glview.c
+++ b/src/lib/elm_glview.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_glview.h"
diff --git a/src/lib/elm_grid.c b/src/lib/elm_grid.c
index 6f7b373..a9949bc 100644
--- a/src/lib/elm_grid.c
+++ b/src/lib/elm_grid.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_grid.h"
diff --git a/src/lib/elm_hover.c b/src/lib/elm_hover.c
index dfc0d94..99343d3 100644
--- a/src/lib/elm_hover.c
+++ b/src/lib/elm_hover.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_hover.h"
diff --git a/src/lib/elm_icon.c b/src/lib/elm_icon.c
index 1971b1c..eaeb8b8 100644
--- a/src/lib/elm_icon.c
+++ b/src/lib/elm_icon.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_icon.h"
#include "elm_widget_image.h"
diff --git a/src/lib/elm_image.c b/src/lib/elm_image.c
index e0526ce..dc679ba 100644
--- a/src/lib/elm_image.c
+++ b/src/lib/elm_image.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_image.h"
diff --git a/src/lib/elm_index.c b/src/lib/elm_index.c
index f2da580..1c3a41f 100644
--- a/src/lib/elm_index.c
+++ b/src/lib/elm_index.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "els_box.h"
#include "elm_widget_layout.h"
diff --git a/src/lib/elm_interface_scrollable.c
b/src/lib/elm_interface_scrollable.c
index ecc4073..867ea70 100644
--- a/src/lib/elm_interface_scrollable.c
+++ b/src/lib/elm_interface_scrollable.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_interface_scrollable.h"
diff --git a/src/lib/elm_inwin.c b/src/lib/elm_inwin.c
index 3841cf3..0b6bf42 100644
--- a/src/lib/elm_inwin.c
+++ b/src/lib/elm_inwin.c
@@ -1,6 +1,10 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
-#include "elm_priv.h"
+#include "elm_priv.h"
#include "elm_widget_inwin.h"
#include "elm_widget_layout.h"
diff --git a/src/lib/elm_label.c b/src/lib/elm_label.c
index e9b0bc0..b9f95a4 100644
--- a/src/lib/elm_label.c
+++ b/src/lib/elm_label.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_layout.h"
#include "elm_widget_label.h"
diff --git a/src/lib/elm_layout.c b/src/lib/elm_layout.c
index 65fca7d..db3bab4 100644
--- a/src/lib/elm_layout.c
+++ b/src/lib/elm_layout.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_layout.h"
diff --git a/src/lib/elm_list.c b/src/lib/elm_list.c
index 9152587..256689a 100644
--- a/src/lib/elm_list.c
+++ b/src/lib/elm_list.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_list.h"
#include "elm_interface_scrollable.h"
diff --git a/src/lib/elm_map.c b/src/lib/elm_map.c
index a66fa97..b9c475b 100644
--- a/src/lib/elm_map.c
+++ b/src/lib/elm_map.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_map.h"
#include "elm_interface_scrollable.h"
diff --git a/src/lib/elm_mapbuf.c b/src/lib/elm_mapbuf.c
index e6a7bf0..d29c89d 100644
--- a/src/lib/elm_mapbuf.c
+++ b/src/lib/elm_mapbuf.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_mapbuf.h"
#include "elm_widget_container.h"
diff --git a/src/lib/elm_menu.c b/src/lib/elm_menu.c
index 7b6c34a..63fb6b1 100644
--- a/src/lib/elm_menu.c
+++ b/src/lib/elm_menu.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_menu.h"
diff --git a/src/lib/elm_module.c b/src/lib/elm_module.c
index 89f283c..a7e31dd 100644
--- a/src/lib/elm_module.c
+++ b/src/lib/elm_module.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
/* what are moodules in elementary for? for modularising behavior and features
@@ -24,11 +29,6 @@
* is an api slot for entry modules to modify behavior and hook to
* creation/deletion of the entry as well as replace the longpress behavior.
*/
-
-#ifdef HAVE_CONFIG_H
-# include "elementary_config.h"
-#endif
-
static Eina_Hash *modules = NULL;
static Eina_Hash *modules_as = NULL;
diff --git a/src/lib/elm_notify.c b/src/lib/elm_notify.c
index a454cb6..7aee3cb 100644
--- a/src/lib/elm_notify.c
+++ b/src/lib/elm_notify.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_notify.h"
#include "elm_widget_container.h"
diff --git a/src/lib/elm_panel.c b/src/lib/elm_panel.c
index ec75363..cae0bec 100644
--- a/src/lib/elm_panel.c
+++ b/src/lib/elm_panel.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_panel.h"
diff --git a/src/lib/elm_panes.c b/src/lib/elm_panes.c
index 1c6340a..875fdd8 100644
--- a/src/lib/elm_panes.c
+++ b/src/lib/elm_panes.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_layout.h"
#include "elm_widget_panes.h"
diff --git a/src/lib/elm_photo.c b/src/lib/elm_photo.c
index e8a3234..cbf6979 100644
--- a/src/lib/elm_photo.c
+++ b/src/lib/elm_photo.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_photo.h"
diff --git a/src/lib/elm_photocam.c b/src/lib/elm_photocam.c
index a59393a..7fb6733 100644
--- a/src/lib/elm_photocam.c
+++ b/src/lib/elm_photocam.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_photocam.h"
#include "elm_interface_scrollable.h"
diff --git a/src/lib/elm_plug.c b/src/lib/elm_plug.c
index 1f8c0b7..e41bf1a 100644
--- a/src/lib/elm_plug.c
+++ b/src/lib/elm_plug.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_plug.h"
diff --git a/src/lib/elm_prefs.c b/src/lib/elm_prefs.c
index da31d6b..990d398 100644
--- a/src/lib/elm_prefs.c
+++ b/src/lib/elm_prefs.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_prefs.h"
#include "elm_prefs_edd.x"
diff --git a/src/lib/elm_priv.h b/src/lib/elm_priv.h
index cbe907e..969b67d 100644
--- a/src/lib/elm_priv.h
+++ b/src/lib/elm_priv.h
@@ -1,8 +1,5 @@
#ifndef ELM_PRIV_H
#define ELM_PRIV_H
-#ifdef HAVE_CONFIG_H
-#include "elementary_config.h"
-#endif
#ifdef HAVE_ELEMENTARY_X
#include <Ecore_X.h>
#endif
diff --git a/src/lib/elm_progressbar.c b/src/lib/elm_progressbar.c
index f554e58..757868f 100644
--- a/src/lib/elm_progressbar.c
+++ b/src/lib/elm_progressbar.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_progressbar.h"
#include "elm_widget_layout.h"
diff --git a/src/lib/elm_radio.c b/src/lib/elm_radio.c
index 397e695..0b3d69f 100644
--- a/src/lib/elm_radio.c
+++ b/src/lib/elm_radio.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_radio.h"
#include "elm_widget_layout.h"
diff --git a/src/lib/elm_route.c b/src/lib/elm_route.c
index b6fe1bf..b7586c4 100644
--- a/src/lib/elm_route.c
+++ b/src/lib/elm_route.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_route.h"
diff --git a/src/lib/elm_scroller.c b/src/lib/elm_scroller.c
index fdd1a1e..e1edb28 100644
--- a/src/lib/elm_scroller.c
+++ b/src/lib/elm_scroller.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_interface_scrollable.h"
#include "elm_widget_layout.h"
diff --git a/src/lib/elm_segment_control.c b/src/lib/elm_segment_control.c
index bb7635f..81e564a 100644
--- a/src/lib/elm_segment_control.c
+++ b/src/lib/elm_segment_control.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_segment_control.h"
diff --git a/src/lib/elm_separator.c b/src/lib/elm_separator.c
index e42f926..5b211cd 100644
--- a/src/lib/elm_separator.c
+++ b/src/lib/elm_separator.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_separator.h"
#include "elm_widget_layout.h"
diff --git a/src/lib/elm_slider.c b/src/lib/elm_slider.c
index 68fea42..dd194b7 100644
--- a/src/lib/elm_slider.c
+++ b/src/lib/elm_slider.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_slider.h"
#include "elm_widget_layout.h"
diff --git a/src/lib/elm_slideshow.c b/src/lib/elm_slideshow.c
index 84b1da5..8486f2e 100644
--- a/src/lib/elm_slideshow.c
+++ b/src/lib/elm_slideshow.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_slideshow.h"
diff --git a/src/lib/elm_spinner.c b/src/lib/elm_spinner.c
index 962d4b4..441148e 100644
--- a/src/lib/elm_spinner.c
+++ b/src/lib/elm_spinner.c
@@ -1,5 +1,10 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
//#include <ctype.h>
+
#include "elm_priv.h"
#include "elm_widget_spinner.h"
diff --git a/src/lib/elm_store.c b/src/lib/elm_store.c
index eda3117..cbb8230 100644
--- a/src/lib/elm_store.c
+++ b/src/lib/elm_store.c
@@ -1,5 +1,10 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include <Elementary_Cursor.h>
+
#include "elm_priv.h"
typedef struct _Elm_Store_Filesystem Elm_Store_Filesystem;
diff --git a/src/lib/elm_sys_notify.c b/src/lib/elm_sys_notify.c
index fa6a085..4f22a4a 100644
--- a/src/lib/elm_sys_notify.c
+++ b/src/lib/elm_sys_notify.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#define OBJ "/org/freedesktop/Notifications"
diff --git a/src/lib/elm_systray.c b/src/lib/elm_systray.c
index b742ef5..bdc7bc1 100644
--- a/src/lib/elm_systray.c
+++ b/src/lib/elm_systray.c
@@ -1,4 +1,9 @@
-#include "Elementary.h"
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
+#include <Elementary.h>
+
#include "elm_priv.h"
#include "Eo.h"
diff --git a/src/lib/elm_systray_watcher.c b/src/lib/elm_systray_watcher.c
index a602908..9291498 100644
--- a/src/lib/elm_systray_watcher.c
+++ b/src/lib/elm_systray_watcher.c
@@ -1,4 +1,9 @@
-#include "Elementary.h"
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
+#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_systray_watcher.h"
diff --git a/src/lib/elm_table.c b/src/lib/elm_table.c
index e159647..49199e3 100644
--- a/src/lib/elm_table.c
+++ b/src/lib/elm_table.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_table.h"
diff --git a/src/lib/elm_theme.c b/src/lib/elm_theme.c
index 3c9fd47..40646e6 100644
--- a/src/lib/elm_theme.c
+++ b/src/lib/elm_theme.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
static Elm_Theme theme_default =
diff --git a/src/lib/elm_thumb.c b/src/lib/elm_thumb.c
index 62e3bf6..f449330 100644
--- a/src/lib/elm_thumb.c
+++ b/src/lib/elm_thumb.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_thumb.h"
diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c
index 843f5a9..8b5c6ba 100644
--- a/src/lib/elm_toolbar.c
+++ b/src/lib/elm_toolbar.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_toolbar.h"
diff --git a/src/lib/elm_transit.c b/src/lib/elm_transit.c
index d54284d..ba0900b 100644
--- a/src/lib/elm_transit.c
+++ b/src/lib/elm_transit.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#define ELM_TRANSIT_CHECK_OR_RETURN(transit, ...) \
diff --git a/src/lib/elm_util.c b/src/lib/elm_util.c
index 7e36860..33805a6 100644
--- a/src/lib/elm_util.c
+++ b/src/lib/elm_util.c
@@ -1,7 +1,9 @@
#ifdef HAVE_CONFIG_H
# include "elementary_config.h"
#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
char *
diff --git a/src/lib/elm_video.c b/src/lib/elm_video.c
index 9207228..d55dc82 100644
--- a/src/lib/elm_video.c
+++ b/src/lib/elm_video.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_layout.h"
#include "elm_widget_video.h"
diff --git a/src/lib/elm_web.c b/src/lib/elm_web.c
index 5684635..f29c6fc 100644
--- a/src/lib/elm_web.c
+++ b/src/lib/elm_web.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_web.h"
diff --git a/src/lib/elm_web2.c b/src/lib/elm_web2.c
index 5f0b95c..ac9d99e 100644
--- a/src/lib/elm_web2.c
+++ b/src/lib/elm_web2.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_web.h"
diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index a5e959c..9463e77 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "elm_widget_container.h"
#include "elm_interface_scrollable.h"
diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index e226738..22bf152 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -1,5 +1,10 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include <Elementary_Cursor.h>
+
#include "elm_priv.h"
#include "elm_widget_menu.h"
diff --git a/src/lib/els_box.c b/src/lib/els_box.c
index 96cec9c..6edd13c 100644
--- a/src/lib/els_box.c
+++ b/src/lib/els_box.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#include "els_box.h"
diff --git a/src/lib/els_cursor.c b/src/lib/els_cursor.c
index f9ed1d0..23ef72d 100644
--- a/src/lib/els_cursor.c
+++ b/src/lib/els_cursor.c
@@ -1,5 +1,10 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
#include <Elementary_Cursor.h>
+
#include "elm_priv.h"
#ifdef HAVE_ELEMENTARY_X
diff --git a/src/lib/els_pan.c b/src/lib/els_pan.c
index 4ec565f..5d01ac5 100644
--- a/src/lib/els_pan.c
+++ b/src/lib/els_pan.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#define SMART_NAME "elm_pan"
diff --git a/src/lib/els_tooltip.c b/src/lib/els_tooltip.c
index 31f345d..198f6ef 100644
--- a/src/lib/els_tooltip.c
+++ b/src/lib/els_tooltip.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
#ifdef ISCOMFITOR
diff --git a/src/lib/elu_ews_wm.c b/src/lib/elu_ews_wm.c
index 15fdb65..612778e 100644
--- a/src/lib/elu_ews_wm.c
+++ b/src/lib/elu_ews_wm.c
@@ -1,4 +1,9 @@
+#ifdef HAVE_CONFIG_H
+# include "elementary_config.h"
+#endif
+
#include <Elementary.h>
+
#include "elm_priv.h"
static Eina_Bool _ews_used = EINA_FALSE;
--
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2