mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Merge pull request #1004 from ailin-nemui/fix-get_extent
fix gui_input_get_extent
This commit is contained in:
commit
b4ad430939
@ -158,15 +158,13 @@ gui_input_clear_extents(pos, len = 0)
|
|||||||
CODE:
|
CODE:
|
||||||
gui_entry_clear_extents(active_entry, pos, len);
|
gui_entry_clear_extents(active_entry, pos, len);
|
||||||
|
|
||||||
void
|
char *
|
||||||
gui_input_get_extent(pos)
|
gui_input_get_extent(pos)
|
||||||
int pos
|
int pos
|
||||||
PREINIT:
|
CODE:
|
||||||
char *ret;
|
RETVAL = gui_entry_get_extent(active_entry, pos);
|
||||||
PPCODE:
|
OUTPUT:
|
||||||
ret = gui_entry_get_extent(active_entry, pos);
|
RETVAL
|
||||||
XPUSHs(sv_2mortal(new_pv(ret)));
|
|
||||||
g_free(ret);
|
|
||||||
|
|
||||||
void
|
void
|
||||||
gui_input_get_text_and_extents()
|
gui_input_get_text_and_extents()
|
||||||
|
Loading…
Reference in New Issue
Block a user