# HG changeset patch # User Olaf Wintermann # Date 1707493931 -3600 # Node ID 4df7c366cff79bc8aec095642cde355598a6aea0 # Parent 22257f5f40193a2985724e0a3110c28a31ed4a90 copy UiList getselection fptr in uic_copy_binding diff -r 22257f5f4019 -r 4df7c366cff7 ui/common/context.c --- 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; diff -r 22257f5f4019 -r 4df7c366cff7 ui/ui/toolkit.h --- 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);