Elm_code test: fix compilation

Reviewers: cedric, raster

Differential Revision: https://phab.enlightenment.org/D5831
This commit is contained in:
Vincent Torri 2018-03-04 21:41:33 +09:00 committed by Carsten Haitzler (Rasterman)
parent 300831cb3c
commit 32b2102774
2 changed files with 7 additions and 2 deletions

View File

@ -6,9 +6,11 @@
#include "elm_code_private.h"
#ifndef ELM_CODE_TEST
EAPI Elm_Code_Parser *ELM_CODE_PARSER_STANDARD_SYNTAX = NULL;
EAPI Elm_Code_Parser *ELM_CODE_PARSER_STANDARD_DIFF = NULL;
EAPI Elm_Code_Parser *ELM_CODE_PARSER_STANDARD_TODO = NULL;
#endif
struct _Elm_Code_Parser
{

View File

@ -112,6 +112,7 @@ elm_code_widget_selection_select_all(Evas_Object *widget)
efl_event_callback_legacy_call(widget, ELM_OBJ_CODE_WIDGET_EVENT_SELECTION_CHANGED, widget);
}
#ifndef ELM_CODE_TEST
EAPI Elm_Code_Widget_Selection_Data *
elm_code_widget_selection_normalized_get(Evas_Object *widget)
@ -154,8 +155,6 @@ elm_code_widget_selection_normalized_get(Evas_Object *widget)
return selection;
}
#ifndef ELM_CODE_TEST
EAPI void
elm_code_widget_selection_clear(Evas_Object *widget)
{
@ -404,6 +403,8 @@ _selection_loss_cb(void *data EINA_UNUSED, Elm_Sel_Type selection EINA_UNUSED)
// elm_code_widget_selection_clear(widget);
}
#ifndef ELM_CODE_TEST
EAPI void
elm_code_widget_selection_cut(Evas_Object *widget)
{
@ -483,3 +484,5 @@ elm_code_widget_selection_is_empty(Evas_Object *widget)
return ret;
}
#endif // ELM_CODE_TEST