Fri, 09 Feb 2024 16:52:11 +0100
copy UiList getselection fptr in uic_copy_binding
ui/common/context.c | file | annotate | diff | comparison | revisions | |
ui/ui/toolkit.h | file | annotate | diff | comparison | revisions |
--- a/ui/common/context.c Fri Feb 09 15:45:02 2024 +0100 +++ b/ui/common/context.c Fri Feb 09 16:52:11 2024 +0100 @@ -321,6 +321,7 @@ if (f->obj) { t->obj = f->obj; t->update = f->update; + t->getselection = f->getselection; } UiVar tmp = *from;
--- a/ui/ui/toolkit.h Fri Feb 09 15:45:02 2024 +0100 +++ b/ui/ui/toolkit.h Fri Feb 09 16:52:11 2024 +0100 @@ -495,7 +495,7 @@ -UIEXPORT void ui_listselection_free(UiListSelection *selection); +UIEXPORT void ui_listselection_free(UiListSelection selection); UIEXPORT UiIcon* ui_icon(const char* name, size_t size); UIEXPORT UiIcon* ui_imageicon(const char* file);