Ship missing headers, and remove wrong includes
authorTom Hacohen <tom@stosb.com>
Wed, 12 Mar 2014 14:17:26 +0000 (14:17 +0000)
committerTom Hacohen <tom@stosb.com>
Wed, 12 Mar 2014 14:30:21 +0000 (14:30 +0000)
elm_gen_common.h was not installed, but is needed by installed headers.
Remove dependencies on internal headers from shipped headers.

src/lib/Makefile.am
src/lib/elm_gen_common.h
src/lib/elm_panel.c
src/lib/elm_toolbar.c
src/lib/elm_widget_panel.h
src/lib/elm_widget_toolbar.h

index 443f68c..9f2cb9e 100644 (file)
@@ -43,6 +43,7 @@ Elementary_Cursor.h
 includesdir = $(includedir)/elementary-@VMAJ@
 
 includesunstable_HEADERS = \
+elm_gen_common.h \
 elm_interface_fileselector.h \
 elm_interface_scrollable.h \
 elm_widget.h \
@@ -392,7 +393,6 @@ elm_win_legacy.h
 includesubdir = $(includedir)/elementary-@VMAJ@/
 
 libelementary_la_SOURCES = \
-elm_gen_common.h \
 elm_priv.h \
 els_box.h \
 elc_ctxpopup.c \
index 19e4a11..3df68a5 100644 (file)
@@ -3,7 +3,6 @@
 
 #include <Elementary.h>
 #include <Elementary_Cursor.h>
-#include "elm_priv.h"
 
 #define ELM_GEN_ITEM_FROM_INLIST(it) \
   ((it) ? EINA_INLIST_CONTAINER_GET(it, Elm_Gen_Item) : NULL)
index a6d3072..160538f 100644 (file)
@@ -7,6 +7,8 @@
 #include "elm_priv.h"
 #include "elm_widget_panel.h"
 
+#include "els_box.h"
+
 EAPI Eo_Op ELM_OBJ_PANEL_BASE_ID = EO_NOOP;
 
 #define MY_CLASS ELM_OBJ_PANEL_CLASS
index 1e0ae05..e5623aa 100644 (file)
@@ -6,6 +6,7 @@
 
 #include "elm_priv.h"
 #include "elm_widget_toolbar.h"
+#include "els_box.h"
 
 EAPI Eo_Op ELM_OBJ_TOOLBAR_BASE_ID = EO_NOOP;
 
index e869f01..c72f606 100644 (file)
@@ -2,7 +2,6 @@
 #define ELM_WIDGET_PANEL_H
 
 #include "elm_widget_layout.h"
-#include "els_box.h"
 
 /**
  * @addtogroup Widget
index 500b53a..9c731ea 100644 (file)
@@ -2,7 +2,6 @@
 #define ELM_WIDGET_TOOLBAR_H
 
 #include "elm_interface_scrollable.h"
-#include "els_box.h"
 
 /**
  * @addtogroup Widget