Mercurial > dwindows
diff gtk/dw.c @ 2909:3fe7641f027c
WARNING: Fix an API inconsistency in dw_notebook_page_destroy/set()
These two APIs incorrectly referenced the page ID as an int not long.
This change may cause ABI problems with programs that use these on some
platforms. Recompile your apps that use these functions for safety.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 27 Dec 2022 00:58:58 +0000 |
parents | 2b7babf491e1 |
children | edb4307ac7ce |
line wrap: on
line diff
--- a/gtk/dw.c Tue Dec 27 00:33:29 2022 +0000 +++ b/gtk/dw.c Tue Dec 27 00:58:58 2022 +0000 @@ -11508,7 +11508,7 @@ * handle: Handle to the notebook widget. * pageid: ID of the page to be destroyed. */ -void dw_notebook_page_destroy(HWND handle, unsigned int pageid) +void dw_notebook_page_destroy(HWND handle, unsigned long pageid) { int realpage, _dw_locked_by_me = FALSE; GtkWidget **pagearray; @@ -11547,7 +11547,7 @@ * handle: Handle to the notebook widget. * pageid: ID of the page to be made visible. */ -void dw_notebook_page_set(HWND handle, unsigned int pageid) +void dw_notebook_page_set(HWND handle, unsigned long pageid) { int realpage, _dw_locked_by_me = FALSE;