Move list pointer forwards before removing item from list. (Crash reported

Wed Oct  4 15:52:15 2000    <otaylor@redhat.com>

	* gdk/x11/gdkselection-x11.c (_gdk_selection_window_destroyed):
	Move list pointer forwards before removing item from
	list. (Crash reported by Salmaso Raffaele)

	* gdk/gdkwindow.h: Remove spurious trailing ,

	* gdk/Makefile.am (LDFLAGS): You can't do interlibrary
	dependencies on uninstalled libraries, sorry folks.
This commit is contained in:
0
2000-10-04 19:53:53 +00:00
committed by Owen Taylor
parent b90b621e2c
commit 468689e31a
10 changed files with 80 additions and 3 deletions

View File

@ -56,12 +56,13 @@ _gdk_selection_window_destroyed (GdkWindow *window)
while (tmp_list)
{
OwnerInfo *info = tmp_list->data;
tmp_list = tmp_list->next;
if (info->owner == window)
{
owner_list = g_slist_remove (owner_list, info);
g_free (info);
}
tmp_list = tmp_list->next;
}
}