Mercurial > dwindows
diff gtk/dw.c @ 346:81fae15885d7
Implemented switch-page on OS/2, and changed the signal prototype to
unsigned long instead of int. Also dw_notebook_page_query should
return unsigned long as well.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 11 Apr 2003 13:35:50 +0000 |
parents | 599644ca9064 |
children | 2216e65ad2ae |
line wrap: on
line diff
--- a/gtk/dw.c Fri Apr 11 12:26:54 2003 +0000 +++ b/gtk/dw.c Fri Apr 11 13:35:50 2003 +0000 @@ -575,7 +575,7 @@ if(work) { - int (*switchpagefunc)(HWND, int, void *) = work->func; + int (*switchpagefunc)(HWND, unsigned long, void *) = work->func; retval = switchpagefunc(work->window, _get_logical_page(GTK_WIDGET(notebook), page_num), work->data); } return retval; @@ -6355,7 +6355,7 @@ * Parameters: * handle: Handle to the notebook widget. */ -unsigned int dw_notebook_page_query(HWND handle) +unsigned long dw_notebook_page_query(HWND handle) { int retval, phys; int _locked_by_me = FALSE;