diff options
author | Daniel Kolesa <d.kolesa@samsung.com> | 2018-05-13 17:28:47 +0200 |
---|---|---|
committer | Daniel Kolesa <d.kolesa@samsung.com> | 2018-05-13 17:28:47 +0200 |
commit | 6be3809c04fad847e353edecf5b6eef3c8766df4 (patch) | |
tree | 3ea4e72abebffd2446192829b510bef8ca0cfadb /src/lib/efl | |
parent | 1f4f7e859795c175fddcdceafc25ee89ac78511b (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 '')
-rw-r--r-- | src/lib/efl/interfaces/efl_gfx_entity.eo | 1 | ||||
-rw-r--r-- | src/lib/efl/interfaces/efl_gfx_image.eo | 1 | ||||
-rw-r--r-- | src/lib/efl/interfaces/efl_orientation.eo | 2 | ||||
-rw-r--r-- | src/lib/efl/interfaces/efl_pack_table.eo | 1 | ||||
-rw-r--r-- | src/lib/efl/interfaces/efl_text_annotate.eo | 1 | ||||
-rw-r--r-- | src/lib/efl/interfaces/efl_ui_direction.eo | 2 | ||||
-rw-r--r-- | src/lib/efl/interfaces/efl_ui_format.eo | 2 |
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 @@ | |||
1 | import eina_types; | 1 | import eina_types; |
2 | import efl_gfx_types; | ||
3 | 2 | ||
4 | interface Efl.Gfx.Entity { | 3 | interface 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 @@ | |||
1 | import efl_gfx_types; | 1 | import efl_gfx_types; |
2 | import efl_gfx_fill; | ||
3 | 2 | ||
4 | enum Efl.Gfx.Image_Content_Hint | 3 | enum 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 @@ | |||
1 | import efl_ui_direction; // For documentation references | 1 | parse efl_ui_direction; |
2 | 2 | ||
3 | enum Efl.Orient | 3 | enum 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 @@ | |||
1 | import efl_gfx_types; | ||
2 | import efl_ui_direction; | 1 | import efl_ui_direction; |
3 | 2 | ||
4 | interface Efl.Pack_Table (Efl.Pack_Linear) | 3 | interface 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 @@ | |||
1 | import eina_types; | ||
2 | import efl_text_types; | 1 | import efl_text_types; |
3 | 2 | ||
4 | interface Efl.Text_Annotate { | 3 | interface 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 | ||
4 | import efl_orientation; | 4 | parse efl_orientation; |
5 | 5 | ||
6 | enum Efl.Ui.Dir | 6 | enum 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 @@ | |||
1 | import eina_types; | ||
2 | |||
3 | function Efl.Ui.Format_Func_Cb { | 1 | function Efl.Ui.Format_Func_Cb { |
4 | [[Function pointer for format function hook]] | 2 | [[Function pointer for format function hook]] |
5 | params { | 3 | params { |