Mercurial > dwindows
comparison gtk/dw.c @ 150:2a0d7b57a6da
Removed unnecessary parameters from dw_main().
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 24 Oct 2002 15:53:27 +0000 |
parents | 6028f787f7c8 |
children | 656de0c52c56 |
comparison
equal
deleted
inserted
replaced
149:6028f787f7c8 | 150:2a0d7b57a6da |
---|---|
780 return TRUE; | 780 return TRUE; |
781 } | 781 } |
782 | 782 |
783 /* | 783 /* |
784 * Runs a message loop for Dynamic Windows. | 784 * Runs a message loop for Dynamic Windows. |
785 * Parameters: | 785 */ |
786 * currenthab: The handle to the current anchor block | 786 void dw_main(void) |
787 * or NULL if this DW is handling the message loop. | |
788 * func: Function pointer to the message filter function. | |
789 */ | |
790 void dw_main(HAB currenthab, void *func) | |
791 { | 787 { |
792 _dw_thread = pthread_self(); | 788 _dw_thread = pthread_self(); |
793 _dw_thread_add(_dw_thread); | 789 _dw_thread_add(_dw_thread); |
794 gdk_threads_enter(); | 790 gdk_threads_enter(); |
795 gtk_main(); | 791 gtk_main(); |