comparison dwtest.c @ 199:b955228477b3

Removed the window parameter to dw_timer_connect() it was no needed.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 20 Jan 2003 20:21:06 +0000
parents 11b5da6196c2
children e0beea487e8f
comparison
equal deleted inserted replaced
198:11b5da6196c2 199:b955228477b3
233 dw_notebook_pack( notebook, notebookpage2, notebookbox2 ); 233 dw_notebook_pack( notebook, notebookpage2, notebookbox2 );
234 dw_notebook_page_set_text( notebook, notebookpage2, "second page"); 234 dw_notebook_page_set_text( notebook, notebookpage2, "second page");
235 text_add(); 235 text_add();
236 236
237 dw_signal_connect(mainwindow, "delete_event", DW_SIGNAL_FUNC(exit_callback), (void *)mainwindow); 237 dw_signal_connect(mainwindow, "delete_event", DW_SIGNAL_FUNC(exit_callback), (void *)mainwindow);
238 timerid = dw_timer_connect(mainwindow, 1000, DW_SIGNAL_FUNC(timer_callback), 0); 238 timerid = dw_timer_connect(1000, DW_SIGNAL_FUNC(timer_callback), 0);
239 dw_window_set_usize(mainwindow, 640, 480); 239 dw_window_set_usize(mainwindow, 640, 480);
240 dw_window_show(mainwindow); 240 dw_window_show(mainwindow);
241 241
242 dw_main(); 242 dw_main();
243 243