elm: fix location of legacy include for elm_code.
Summary: Instead of including the legacy header on the main header, just include it where it is actually used (diff_widget.c), like in elm_code_widget.c. Test Plan: Try to compile edi with the tarball from `make dist`. It should not fail with elm_code related errors. Reviewers: raster, stefan_schmidt, felipealmeida Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5807 Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
This commit is contained in:
parent
59c0246eea
commit
d78620e001
|
@ -381,7 +381,6 @@ includesunstable_HEADERS = \
|
|||
lib/elementary/elm_code.h \
|
||||
lib/elementary/elm_code_widget_legacy.h \
|
||||
lib/elementary/elm_code_widget_selection.h \
|
||||
lib/elementary/elm_code_widget_legacy.eo.h \
|
||||
lib/elementary/elm_code_diff_widget.h \
|
||||
lib/elementary/elm_code_common.h \
|
||||
lib/elementary/elm_code_line.h \
|
||||
|
|
|
@ -11,7 +11,6 @@
|
|||
#include "elm_code_parse.h"
|
||||
#include "elm_code_syntax.h"
|
||||
#include "elm_code_widget.eo.h"
|
||||
#include "elm_code_widget_legacy.eo.h"
|
||||
#include "elm_code_widget_legacy.h"
|
||||
#include "elm_code_widget_selection.h"
|
||||
#include "elm_code_diff_widget.h"
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "Elementary.h"
|
||||
|
||||
#include "elm_code_private.h"
|
||||
#include "elm_code_widget_legacy.eo.h"
|
||||
|
||||
#define _ELM_CODE_DIFF_WIDGET_LEFT "diffwidgetleft"
|
||||
#define _ELM_CODE_DIFF_WIDGET_RIGHT "diffwidgetright"
|
||||
|
|
Loading…
Reference in New Issue