ui/motif/toolkit.h

changeset 101
7b3a3130be44
parent 100
d2bd73d28ff1
--- a/ui/motif/toolkit.h	Thu Dec 12 20:01:43 2024 +0100
+++ b/ui/motif/toolkit.h	Mon Jan 06 22:22:55 2025 +0100
@@ -43,6 +43,7 @@
     ui_callback callback;
     void        *userdata;
     int         value;
+    void        *customdata;
 } UiEventData;
 
 typedef struct UiEventDataExt {
@@ -91,7 +92,7 @@
 void ui_secondary_event_loop(int *loop);
 void ui_window_dark_theme(Display *dp, Window window);
 
-void ui_destroy_eventdata(Widget w, XtPointer *data, XtPointer d);
+void ui_destroy_eventdata(Widget w, XtPointer data, XtPointer d);
 
 void ui_set_widget_groups(UiContext *ctx, Widget widget, const int *groups) ;
 void ui_set_widget_ngroups(UiContext *ctx, Widget widget, const int *groups, size_t ngroups);

mercurial