mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 21:50:34 +00:00
Don't use g_slist_next in the windows backend
We generally use ->next directly.
This commit is contained in:
parent
ffa98cbfa5
commit
364d1a574b
@ -1034,7 +1034,7 @@ show_window_recurse (GdkWindow *window, gboolean hide_window)
|
||||
child = children->data;
|
||||
show_window_recurse (child, hide_window);
|
||||
|
||||
children = g_slist_next (children);
|
||||
children = children->next;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1181,8 +1181,8 @@ find_common_ancestor (GdkWindow *win1,
|
||||
while (list1 && list2 && (list1->data == list2->data))
|
||||
{
|
||||
tmp = (GdkWindow *)list1->data;
|
||||
list1 = g_list_next (list1);
|
||||
list2 = g_list_next (list2);
|
||||
list1 = list1->next;
|
||||
list2 = list2->next;
|
||||
}
|
||||
g_list_free (path1);
|
||||
g_list_free (path2);
|
||||
@ -1280,7 +1280,7 @@ synthesize_crossing_events (GdkDisplay *display,
|
||||
while (list)
|
||||
{
|
||||
win = (GdkWindow *)list->data;
|
||||
list = g_list_next (list);
|
||||
list = list->next;
|
||||
if (list)
|
||||
next = (GdkWindow *)list->data;
|
||||
else
|
||||
|
@ -826,7 +826,7 @@ gdk_win32_window_destroy (GdkWindow *window,
|
||||
GdkWindowImplWin32 *child_impl = GDK_WINDOW_IMPL_WIN32 (GDK_WINDOW (child)->impl);
|
||||
|
||||
child_impl->transient_owner = NULL;
|
||||
tmp = g_slist_next (tmp);
|
||||
tmp = tmp->next;
|
||||
}
|
||||
g_slist_free (window_impl->transient_children);
|
||||
window_impl->transient_children = NULL;
|
||||
@ -2299,7 +2299,7 @@ gdk_win32_window_set_icon_list (GdkWindow *window,
|
||||
small_diff = diff;
|
||||
}
|
||||
|
||||
pixbufs = g_list_next (pixbufs);
|
||||
pixbufs = pixbufs->next;
|
||||
}
|
||||
|
||||
/* Create the icons */
|
||||
|
Loading…
Reference in New Issue
Block a user