Mercurial > dwindows
comparison gtk/dw.c @ 526:d3ce0afa6cf5
Remove extraneous arguments to dw_messagebox()
author | mhessling@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 23 Mar 2004 10:10:27 +0000 |
parents | 55c9fa60af78 |
children | a284fde5d471 |
comparison
equal
deleted
inserted
replaced
525:2ff26b697877 | 526:d3ce0afa6cf5 |
---|---|
7450 * If you try and pack an item into itself VERY bad things can happen; like at least an | 7450 * If you try and pack an item into itself VERY bad things can happen; like at least an |
7451 * infinite loop on GTK! Lets be safe! | 7451 * infinite loop on GTK! Lets be safe! |
7452 */ | 7452 */ |
7453 if(box == item) | 7453 if(box == item) |
7454 { | 7454 { |
7455 dw_messagebox("dw_box_pack_end()", DW_MB_OK|DW_MB_ERROR, "Danger! Danger! Will Robinson; box and item are the same!",box,item); | 7455 dw_messagebox("dw_box_pack_end()", DW_MB_OK|DW_MB_ERROR, "Danger! Danger! Will Robinson; box and item are the same!"); |
7456 return; | 7456 return; |
7457 } | 7457 } |
7458 | 7458 |
7459 DW_MUTEX_LOCK; | 7459 DW_MUTEX_LOCK; |
7460 | 7460 |
8683 * If you try and pack an item into itself VERY bad things can happen; like at least an | 8683 * If you try and pack an item into itself VERY bad things can happen; like at least an |
8684 * infinite loop on GTK! Lets be safe! | 8684 * infinite loop on GTK! Lets be safe! |
8685 */ | 8685 */ |
8686 if(box == item) | 8686 if(box == item) |
8687 { | 8687 { |
8688 dw_messagebox("dw_box_pack_start()", DW_MB_OK|DW_MB_ERROR, "Danger! Danger! Will Robinson; box and item are the same!",box,item); | 8688 dw_messagebox("dw_box_pack_start()", DW_MB_OK|DW_MB_ERROR, "Danger! Danger! Will Robinson; box and item are the same!"); |
8689 return; | 8689 return; |
8690 } | 8690 } |
8691 | 8691 |
8692 DW_MUTEX_LOCK; | 8692 DW_MUTEX_LOCK; |
8693 | 8693 |