1
0
mirror of https://github.com/irssi/irssi.git synced 2024-10-27 05:20:20 -04:00

Merge pull request #1004 from ailin-nemui/fix-get_extent

fix gui_input_get_extent
This commit is contained in:
ailin-nemui 2019-02-05 01:08:19 +01:00 committed by GitHub
commit b4ad430939
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -158,15 +158,13 @@ gui_input_clear_extents(pos, len = 0)
CODE:
gui_entry_clear_extents(active_entry, pos, len);
void
char *
gui_input_get_extent(pos)
int pos
PREINIT:
char *ret;
PPCODE:
ret = gui_entry_get_extent(active_entry, pos);
XPUSHs(sv_2mortal(new_pv(ret)));
g_free(ret);
CODE:
RETVAL = gui_entry_get_extent(active_entry, pos);
OUTPUT:
RETVAL
void
gui_input_get_text_and_extents()