Thu Dec 10 21:38:55 1998 Owen Taylor <otaylor@redhat.com>

* gkey.c (delete_select_channel): Fixed list handling
	with g_list_remove().
This commit is contained in:
Owen Taylor 1998-12-11 02:38:15 +00:00
parent ef24ca475e
commit 9022456a54
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Thu Dec 10 21:38:55 1998 Owen Taylor <otaylor@redhat.com>
* gkey.c (delete_select_channel): Fixed list handling
with g_list_remove().
1998-12-10 Federico Mena Quintero <federico@nuclecu.unam.mx> 1998-12-10 Federico Mena Quintero <federico@nuclecu.unam.mx>
* gdesktop.c (dnd_select_icon_pending): Added this flag that * gdesktop.c (dnd_select_icon_pending): Added this flag that

View File

@ -72,7 +72,7 @@ delete_select_channel (int fd)
tclosure = 0; tclosure = 0;
g_list_foreach (select_list, find_select_closure_callback, &fd); g_list_foreach (select_list, find_select_closure_callback, &fd);
if (tclosure){ if (tclosure){
g_list_remove (select_list, tclosure); select_list = g_list_remove (select_list, tclosure);
gdk_input_remove (tclosure->tag); gdk_input_remove (tclosure->tag);
free (tclosure); free (tclosure);
} else { } else {