summaryrefslogtreecommitdiff
path: root/reference/c/ui
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-12-11 15:51:03 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2019-12-11 15:51:03 +0100
commitcba451e99b9e9237c71e37833c72447b2e49b765 (patch)
tree7a133118bc46839fbcfaa82b8ab8c922bb4f398a /reference/c/ui
parentaeaba8306575961868e7a4df8ac82456b4bf6628 (diff)
More adaptation to latest Text changes
Previous fix relied on old headers still being present, which is not good.
Diffstat (limited to 'reference/c/ui')
-rw-r--r--reference/c/ui/src/focus_main.c4
-rw-r--r--reference/c/ui/src/ui_container.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/reference/c/ui/src/focus_main.c b/reference/c/ui/src/focus_main.c
index d4f678eb..8db43e19 100644
--- a/reference/c/ui/src/focus_main.c
+++ b/reference/c/ui/src/focus_main.c
@@ -3,7 +3,7 @@
3#include <Elementary.h> 3#include <Elementary.h>
4#include <Efl_Ui.h> 4#include <Efl_Ui.h>
5// Temporary workaround until Unified Text stops using Legacy classes internally 5// Temporary workaround until Unified Text stops using Legacy classes internally
6#include <efl_ui_text.eo.h> 6#include <efl_ui_textbox.eo.h>
7#include <efl_text_interactive.eo.h> 7#include <efl_text_interactive.eo.h>
8 8
9static void 9static void
@@ -43,7 +43,7 @@ _gui_setup()
43 efl_content_set(win, efl_added), 43 efl_content_set(win, efl_added),
44 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(360, 240))); 44 efl_gfx_hint_size_min_set(efl_added, EINA_SIZE2D(360, 240)));
45 45
46 efl_add(EFL_UI_TEXT_CLASS, box, 46 efl_add(EFL_UI_TEXTBOX_CLASS, box,
47 efl_text_set(efl_added, "Label"), 47 efl_text_set(efl_added, "Label"),
48 efl_text_interactive_editable_set(efl_added, EINA_FALSE), 48 efl_text_interactive_editable_set(efl_added, EINA_FALSE),
49 efl_event_callback_add(efl_added, EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED, 49 efl_event_callback_add(efl_added, EFL_UI_FOCUS_OBJECT_EVENT_FOCUS_CHANGED,
diff --git a/reference/c/ui/src/ui_container.c b/reference/c/ui/src/ui_container.c
index 0c7270a0..1c32fdd9 100644
--- a/reference/c/ui/src/ui_container.c
+++ b/reference/c/ui/src/ui_container.c
@@ -3,7 +3,7 @@
3#include <Elementary.h> 3#include <Elementary.h>
4#include <Efl_Ui.h> 4#include <Efl_Ui.h>
5// Temporary workaround until Unified Text stops using Legacy classes internally 5// Temporary workaround until Unified Text stops using Legacy classes internally
6#include <efl_ui_text.eo.h> 6#include <efl_ui_textbox.eo.h>
7 7
8/* 8/*
9 * Efl.UI container examples. 9 * Efl.UI container examples.