comparison gtk/dw.c @ 271:38d8908c4438

Corrected incorrect typecast.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 05 Mar 2003 19:40:45 +0000
parents d2a80e648d33
children 49ac97060328
comparison
equal deleted inserted replaced
270:d2a80e648d33 271:38d8908c4438
3427 void dw_entryfield_set_limit(HWND handle, ULONG limit) 3427 void dw_entryfield_set_limit(HWND handle, ULONG limit)
3428 { 3428 {
3429 int _locked_by_me = FALSE; 3429 int _locked_by_me = FALSE;
3430 3430
3431 DW_MUTEX_LOCK; 3431 DW_MUTEX_LOCK;
3432 gtk_entry_set_max_length(handle, limit); 3432 gtk_entry_set_max_length(GTK_ENTRY(handle), limit);
3433 DW_MUTEX_UNLOCK; 3433 DW_MUTEX_UNLOCK;
3434 } 3434 }
3435 3435
3436 /* 3436 /*
3437 * Returns the current value of the spinbutton. 3437 * Returns the current value of the spinbutton.