diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c index 82e9368fd5..0390a1ed42 100644 --- a/gdk/win32/gdkevents-win32.c +++ b/gdk/win32/gdkevents-win32.c @@ -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 diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c index 67519aa3d2..85bdb1fc2e 100644 --- a/gdk/win32/gdkwindow-win32.c +++ b/gdk/win32/gdkwindow-win32.c @@ -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 */