summaryrefslogtreecommitdiff
path: root/src/lib/efl
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2018-05-13 17:28:47 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2018-05-13 17:28:47 +0200
commit6be3809c04fad847e353edecf5b6eef3c8766df4 (patch)
tree3ea4e72abebffd2446192829b510bef8ca0cfadb /src/lib/efl
parent1f4f7e859795c175fddcdceafc25ee89ac78511b (diff)
eolian: first batch of unused import removals
Initial results of our static analysis showed a bunch of unused imports or imports used only for documentation references. In the first case, remove entirely, in the second case, change to 'parse' in order to keep references working. The static analysis is not perfect and yields false negatives for certain cases, so there will be a second batch later.
Diffstat (limited to 'src/lib/efl')
-rw-r--r--src/lib/efl/interfaces/efl_gfx_entity.eo1
-rw-r--r--src/lib/efl/interfaces/efl_gfx_image.eo1
-rw-r--r--src/lib/efl/interfaces/efl_orientation.eo2
-rw-r--r--src/lib/efl/interfaces/efl_pack_table.eo1
-rw-r--r--src/lib/efl/interfaces/efl_text_annotate.eo1
-rw-r--r--src/lib/efl/interfaces/efl_ui_direction.eo2
-rw-r--r--src/lib/efl/interfaces/efl_ui_format.eo2
7 files changed, 2 insertions, 8 deletions
diff --git a/src/lib/efl/interfaces/efl_gfx_entity.eo b/src/lib/efl/interfaces/efl_gfx_entity.eo
index 5133c80c9d..b304a3ed10 100644
--- a/src/lib/efl/interfaces/efl_gfx_entity.eo
+++ b/src/lib/efl/interfaces/efl_gfx_entity.eo
@@ -1,5 +1,4 @@
1import eina_types; 1import eina_types;
2import efl_gfx_types;
3 2
4interface Efl.Gfx.Entity { 3interface Efl.Gfx.Entity {
5 [[Efl graphics interface]] 4 [[Efl graphics interface]]
diff --git a/src/lib/efl/interfaces/efl_gfx_image.eo b/src/lib/efl/interfaces/efl_gfx_image.eo
index f71c23fe0b..6a0d10cdf1 100644
--- a/src/lib/efl/interfaces/efl_gfx_image.eo
+++ b/src/lib/efl/interfaces/efl_gfx_image.eo
@@ -1,5 +1,4 @@
1import efl_gfx_types; 1import efl_gfx_types;
2import efl_gfx_fill;
3 2
4enum Efl.Gfx.Image_Content_Hint 3enum Efl.Gfx.Image_Content_Hint
5{ 4{
diff --git a/src/lib/efl/interfaces/efl_orientation.eo b/src/lib/efl/interfaces/efl_orientation.eo
index 087de1bc5d..4f83c25c97 100644
--- a/src/lib/efl/interfaces/efl_orientation.eo
+++ b/src/lib/efl/interfaces/efl_orientation.eo
@@ -1,4 +1,4 @@
1import efl_ui_direction; // For documentation references 1parse efl_ui_direction;
2 2
3enum Efl.Orient 3enum Efl.Orient
4{ 4{
diff --git a/src/lib/efl/interfaces/efl_pack_table.eo b/src/lib/efl/interfaces/efl_pack_table.eo
index 335b269b36..33323ac5ae 100644
--- a/src/lib/efl/interfaces/efl_pack_table.eo
+++ b/src/lib/efl/interfaces/efl_pack_table.eo
@@ -1,4 +1,3 @@
1import efl_gfx_types;
2import efl_ui_direction; 1import efl_ui_direction;
3 2
4interface Efl.Pack_Table (Efl.Pack_Linear) 3interface Efl.Pack_Table (Efl.Pack_Linear)
diff --git a/src/lib/efl/interfaces/efl_text_annotate.eo b/src/lib/efl/interfaces/efl_text_annotate.eo
index bb407259cd..f22209ec39 100644
--- a/src/lib/efl/interfaces/efl_text_annotate.eo
+++ b/src/lib/efl/interfaces/efl_text_annotate.eo
@@ -1,4 +1,3 @@
1import eina_types;
2import efl_text_types; 1import efl_text_types;
3 2
4interface Efl.Text_Annotate { 3interface Efl.Text_Annotate {
diff --git a/src/lib/efl/interfaces/efl_ui_direction.eo b/src/lib/efl/interfaces/efl_ui_direction.eo
index de0cda082d..78bf2cdeda 100644
--- a/src/lib/efl/interfaces/efl_ui_direction.eo
+++ b/src/lib/efl/interfaces/efl_ui_direction.eo
@@ -1,7 +1,7 @@
1// FIXME: Documentation lacks proper references due to cyclic imports. 1// FIXME: Documentation lacks proper references due to cyclic imports.
2// FIXME: What about AnyRTL? And other strange directions? 2// FIXME: What about AnyRTL? And other strange directions?
3 3
4import efl_orientation; 4parse efl_orientation;
5 5
6enum Efl.Ui.Dir 6enum Efl.Ui.Dir
7{ 7{
diff --git a/src/lib/efl/interfaces/efl_ui_format.eo b/src/lib/efl/interfaces/efl_ui_format.eo
index 88f3962e8e..e78478e8bd 100644
--- a/src/lib/efl/interfaces/efl_ui_format.eo
+++ b/src/lib/efl/interfaces/efl_ui_format.eo
@@ -1,5 +1,3 @@
1import eina_types;
2
3function Efl.Ui.Format_Func_Cb { 1function Efl.Ui.Format_Func_Cb {
4 [[Function pointer for format function hook]] 2 [[Function pointer for format function hook]]
5 params { 3 params {