remove deprecated UiListCallbacks struct

Sun, 13 Sep 2026 11:50:14 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 13 Sep 2026 11:50:14 +0200
changeset 1255
4681df3739f7
parent 1254
dac36413bad1
child 1256
da0899b1699d

remove deprecated UiListCallbacks struct

ui/ui/list.h file | annotate | diff | comparison | revisions
--- a/ui/ui/list.h	Sun Sep 13 11:35:24 2026 +0200
+++ b/ui/ui/list.h	Sun Sep 13 11:50:14 2026 +0200
@@ -36,7 +36,6 @@
 #endif
 
 typedef struct UiModel            UiModel;
-typedef struct UiListCallbacks    UiListCallbacks;
 typedef struct UiListDnd          UiListDnd;
 
 typedef struct UiListArgs         UiListArgs;
@@ -123,23 +122,6 @@
     int ref;
 };
 
-struct UiListCallbacks {
-    /*
-     * selection callback
-     */
-    ui_callback activate;
-    
-    /*
-     * cursor callback
-     */
-    ui_callback selection;
-    
-    /*
-     * userdata for all callbacks
-     */
-    void *userdata;
-};
-
 struct UiListArgs {
     UiBool fill;
     UiBool hexpand;

mercurial