# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 995504964 0 # Node ID 3e5bff3e55ffd438152bb70974c3f9dbc3a3b319 # Parent f1002d51d959545d8b78d45aa30ae2b700ce6b4f Fixed a problem in dw_listbox_selected(). diff -r f1002d51d959 -r 3e5bff3e55ff gtk/dw.c --- a/gtk/dw.c Thu Jul 19 00:28:54 2001 +0000 +++ b/gtk/dw.c Thu Jul 19 01:09:24 2001 +0000 @@ -3936,7 +3936,7 @@ GList *list = GTK_LIST(handle2)->children; while(list) { - if(list == GTK_LIST(handle2)->selection) + if(list->data == GTK_LIST(handle2)->selection->data) { retval = counter; break;