Commit f83adda5 authored by Tim Janik's avatar Tim Janik
Browse files

ts ts ts, GList structures have a ->prev field as well!!!

parent 0dc21c56
......@@ -1399,7 +1399,11 @@ gtk_handle_current_timeouts (guint32 the_time)
timeoutf = tmp_list->data;
current_timeouts = g_list_remove_link (current_timeouts, tmp_list);
if (running_timeouts)
{
running_timeouts->prev = tmp_list;
tmp_list->next = running_timeouts;
}
running_timeouts = tmp_list;
result = gtk_invoke_timeout_function (timeoutf);
......@@ -1521,7 +1525,11 @@ gtk_handle_current_idles ()
idlef = tmp_list->data;
current_idles = g_list_remove_link (current_idles, tmp_list);
if (running_idles)
{
running_idles->prev = tmp_list;
tmp_list->next = running_idles;
}
running_idles = tmp_list;
result = gtk_idle_invoke_function (idlef);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment