summaryrefslogtreecommitdiff
path: root/src/lib/elementary/elm_code_diff_widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elementary/elm_code_diff_widget.c')
-rw-r--r--src/lib/elementary/elm_code_diff_widget.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/elementary/elm_code_diff_widget.c b/src/lib/elementary/elm_code_diff_widget.c
index 593f044..5b4e633 100644
--- a/src/lib/elementary/elm_code_diff_widget.c
+++ b/src/lib/elementary/elm_code_diff_widget.c
@@ -5,7 +5,7 @@
5#include "Elementary.h" 5#include "Elementary.h"
6 6
7#include "elm_code_private.h" 7#include "elm_code_private.h"
8#include "elm_code_widget_legacy.eo.h" 8#include "elm_code_widget_legacy_eo.h"
9 9
10#define _ELM_CODE_DIFF_WIDGET_LEFT "diffwidgetleft" 10#define _ELM_CODE_DIFF_WIDGET_LEFT "diffwidgetleft"
11#define _ELM_CODE_DIFF_WIDGET_RIGHT "diffwidgetright" 11#define _ELM_CODE_DIFF_WIDGET_RIGHT "diffwidgetright"
@@ -96,7 +96,7 @@ elm_code_diff_widget_add(Evas_Object *parent, Elm_Code *code)
96 // left side of diff 96 // left side of diff
97 wcode1 = elm_code_create(); 97 wcode1 = elm_code_create();
98 elm_code_parser_standard_add(wcode1, ELM_CODE_PARSER_STANDARD_DIFF); 98 elm_code_parser_standard_add(wcode1, ELM_CODE_PARSER_STANDARD_DIFF);
99 widget_left = elm_legacy_add(ELM_CODE_WIDGET_LEGACY_CLASS, parent, elm_obj_code_widget_code_set(efl_added, wcode1)); 99 widget_left = elm_legacy_add(ELM_CODE_WIDGET_LEGACY_CLASS, parent, efl_ui_code_widget_code_set(efl_added, wcode1));
100 100
101 evas_object_size_hint_weight_set(widget_left, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 101 evas_object_size_hint_weight_set(widget_left, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
102 evas_object_size_hint_align_set(widget_left, EVAS_HINT_FILL, EVAS_HINT_FILL); 102 evas_object_size_hint_align_set(widget_left, EVAS_HINT_FILL, EVAS_HINT_FILL);
@@ -107,7 +107,7 @@ elm_code_diff_widget_add(Evas_Object *parent, Elm_Code *code)
107 // right side of diff 107 // right side of diff
108 wcode2 = elm_code_create(); 108 wcode2 = elm_code_create();
109 elm_code_parser_standard_add(wcode2, ELM_CODE_PARSER_STANDARD_DIFF); 109 elm_code_parser_standard_add(wcode2, ELM_CODE_PARSER_STANDARD_DIFF);
110 widget_right = elm_legacy_add(ELM_CODE_WIDGET_LEGACY_CLASS, parent, elm_obj_code_widget_code_set(efl_added, wcode2)); 110 widget_right = elm_legacy_add(ELM_CODE_WIDGET_LEGACY_CLASS, parent, efl_ui_code_widget_code_set(efl_added, wcode2));
111 111
112 evas_object_size_hint_weight_set(widget_right, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); 112 evas_object_size_hint_weight_set(widget_right, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
113 evas_object_size_hint_align_set(widget_right, EVAS_HINT_FILL, EVAS_HINT_FILL); 113 evas_object_size_hint_align_set(widget_right, EVAS_HINT_FILL, EVAS_HINT_FILL);
@@ -125,8 +125,8 @@ elm_code_diff_widget_font_set(Evas_Object *widget, const char *name, int size)
125 Elm_Code_Widget *child; 125 Elm_Code_Widget *child;
126 126
127 child = (Elm_Code_Widget *) evas_object_data_get(widget, _ELM_CODE_DIFF_WIDGET_LEFT); 127 child = (Elm_Code_Widget *) evas_object_data_get(widget, _ELM_CODE_DIFF_WIDGET_LEFT);
128 elm_obj_code_widget_font_set(child, name, size); 128 efl_ui_code_widget_font_set(child, name, size);
129 child = (Elm_Code_Widget *) evas_object_data_get(widget, _ELM_CODE_DIFF_WIDGET_RIGHT); 129 child = (Elm_Code_Widget *) evas_object_data_get(widget, _ELM_CODE_DIFF_WIDGET_RIGHT);
130 elm_obj_code_widget_font_set(child, name, size); 130 efl_ui_code_widget_font_set(child, name, size);
131} 131}
132 132