forked from enlightenment/efl
fix bad func protocype - it returned a duplicated string, not internal.
SVN revision: 66745
This commit is contained in:
parent
a5638a0a65
commit
545390e173
|
@ -247,3 +247,10 @@
|
||||||
2011-12-19 Cedric Bail
|
2011-12-19 Cedric Bail
|
||||||
|
|
||||||
* Check existence of group at compile time also.
|
* Check existence of group at compile time also.
|
||||||
|
|
||||||
|
2012-01-02 Carsten Haitzler (The Rasterman)
|
||||||
|
|
||||||
|
* Fix prototype for edje_object_part_text_cursor_content_get()
|
||||||
|
as it returned a strduped string and not an internal one, so
|
||||||
|
this just formalizes its existing behavior correctly.
|
||||||
|
|
||||||
|
|
|
@ -2758,11 +2758,14 @@ EAPI Eina_Bool edje_object_part_text_cursor_is_visible_format_get(const E
|
||||||
* @brief Returns the content (char) at the cursor position.
|
* @brief Returns the content (char) at the cursor position.
|
||||||
* @see evas_textblock_cursor_content_get
|
* @see evas_textblock_cursor_content_get
|
||||||
*
|
*
|
||||||
|
* You must free the return (if not NULL) after you are done with it.
|
||||||
|
*
|
||||||
* @param obj A valid Evas_Object handle
|
* @param obj A valid Evas_Object handle
|
||||||
* @param part The part name
|
* @param part The part name
|
||||||
* @param cur The cursor to use
|
* @param cur The cursor to use
|
||||||
|
* @return The character string pointed to (may be a multi-byte utf8 sequence) terminated by a nul byte.
|
||||||
*/
|
*/
|
||||||
EAPI const char *edje_object_part_text_cursor_content_get (const Evas_Object *obj, const char *part, Edje_Cursor cur);
|
EAPI char *edje_object_part_text_cursor_content_get (const Evas_Object *obj, const char *part, Edje_Cursor cur);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Sets the cursor position to the given value
|
* @brief Sets the cursor position to the given value
|
||||||
|
|
|
@ -2783,7 +2783,7 @@ _edje_entry_cursor_is_visible_format_get(Edje_Real_Part *rp, Edje_Cursor cur)
|
||||||
return evas_textblock_cursor_format_is_visible_get(c);
|
return evas_textblock_cursor_format_is_visible_get(c);
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *
|
char *
|
||||||
_edje_entry_cursor_content_get(Edje_Real_Part *rp, Edje_Cursor cur)
|
_edje_entry_cursor_content_get(Edje_Real_Part *rp, Edje_Cursor cur)
|
||||||
{
|
{
|
||||||
static char *s = NULL;
|
static char *s = NULL;
|
||||||
|
|
|
@ -1915,7 +1915,7 @@ void _edje_entry_cursor_line_end(Edje_Real_Part *rp, Edje_Cursor cur);
|
||||||
Eina_Bool _edje_entry_cursor_coord_set(Edje_Real_Part *rp, Edje_Cursor cur, int x, int y);
|
Eina_Bool _edje_entry_cursor_coord_set(Edje_Real_Part *rp, Edje_Cursor cur, int x, int y);
|
||||||
Eina_Bool _edje_entry_cursor_is_format_get(Edje_Real_Part *rp, Edje_Cursor cur);
|
Eina_Bool _edje_entry_cursor_is_format_get(Edje_Real_Part *rp, Edje_Cursor cur);
|
||||||
Eina_Bool _edje_entry_cursor_is_visible_format_get(Edje_Real_Part *rp, Edje_Cursor cur);
|
Eina_Bool _edje_entry_cursor_is_visible_format_get(Edje_Real_Part *rp, Edje_Cursor cur);
|
||||||
const char *_edje_entry_cursor_content_get(Edje_Real_Part *rp, Edje_Cursor cur);
|
char *_edje_entry_cursor_content_get(Edje_Real_Part *rp, Edje_Cursor cur);
|
||||||
void _edje_entry_cursor_pos_set(Edje_Real_Part *rp, Edje_Cursor cur, int pos);
|
void _edje_entry_cursor_pos_set(Edje_Real_Part *rp, Edje_Cursor cur, int pos);
|
||||||
int _edje_entry_cursor_pos_get(Edje_Real_Part *rp, Edje_Cursor cur);
|
int _edje_entry_cursor_pos_get(Edje_Real_Part *rp, Edje_Cursor cur);
|
||||||
void _edje_entry_input_panel_layout_set(Edje_Real_Part *rp, Edje_Input_Panel_Layout layout);
|
void _edje_entry_input_panel_layout_set(Edje_Real_Part *rp, Edje_Input_Panel_Layout layout);
|
||||||
|
|
|
@ -1675,7 +1675,7 @@ edje_object_part_text_cursor_is_visible_format_get(const Evas_Object *obj, const
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI const char *
|
EAPI char *
|
||||||
edje_object_part_text_cursor_content_get(const Evas_Object *obj, const char *part, Edje_Cursor cur)
|
edje_object_part_text_cursor_content_get(const Evas_Object *obj, const char *part, Edje_Cursor cur)
|
||||||
{
|
{
|
||||||
Edje *ed;
|
Edje *ed;
|
||||||
|
|
Loading…
Reference in New Issue