forked from AuroraMiddleware/gtk
prepend the running_timeouts list with the tmp_list link itself, not with
Wed Apr 22 04:15:26 1998 Tim Janik <timj@gtk.org> * gtk/gtkmain.c (gtk_handle_current_timeouts): prepend the running_timeouts list with the tmp_list link itself, not with a new GList structure pointing to our link. that would fill up memory and causes the GList.data fields of the running_timeouts list to point to GList structures and not GtkTimeoutFunction structures which is a *really* bad thing. (gtk_handle_current_idles): likewise (exchange "timout" with "idle" in the above entry ;).
This commit is contained in:
parent
57703d0170
commit
0dc21c5690
11
ChangeLog
11
ChangeLog
@ -1,3 +1,14 @@
|
||||
Wed Apr 22 04:15:26 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkmain.c (gtk_handle_current_timeouts): prepend the
|
||||
running_timeouts list with the tmp_list link itself, not with a new
|
||||
GList structure pointing to our link. that would fill up memory and
|
||||
causes the GList.data fields of the running_timeouts list to point to
|
||||
GList structures and not GtkTimeoutFunction structures which is a
|
||||
*really* bad thing.
|
||||
(gtk_handle_current_idles): likewise (exchange "timout" with "idle" in
|
||||
the above entry ;).
|
||||
|
||||
Sat Apr 18 22:18:12 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkradiomenuitem.h:
|
||||
|
@ -1,3 +1,14 @@
|
||||
Wed Apr 22 04:15:26 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkmain.c (gtk_handle_current_timeouts): prepend the
|
||||
running_timeouts list with the tmp_list link itself, not with a new
|
||||
GList structure pointing to our link. that would fill up memory and
|
||||
causes the GList.data fields of the running_timeouts list to point to
|
||||
GList structures and not GtkTimeoutFunction structures which is a
|
||||
*really* bad thing.
|
||||
(gtk_handle_current_idles): likewise (exchange "timout" with "idle" in
|
||||
the above entry ;).
|
||||
|
||||
Sat Apr 18 22:18:12 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkradiomenuitem.h:
|
||||
|
@ -1,3 +1,14 @@
|
||||
Wed Apr 22 04:15:26 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkmain.c (gtk_handle_current_timeouts): prepend the
|
||||
running_timeouts list with the tmp_list link itself, not with a new
|
||||
GList structure pointing to our link. that would fill up memory and
|
||||
causes the GList.data fields of the running_timeouts list to point to
|
||||
GList structures and not GtkTimeoutFunction structures which is a
|
||||
*really* bad thing.
|
||||
(gtk_handle_current_idles): likewise (exchange "timout" with "idle" in
|
||||
the above entry ;).
|
||||
|
||||
Sat Apr 18 22:18:12 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkradiomenuitem.h:
|
||||
|
@ -1,3 +1,14 @@
|
||||
Wed Apr 22 04:15:26 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkmain.c (gtk_handle_current_timeouts): prepend the
|
||||
running_timeouts list with the tmp_list link itself, not with a new
|
||||
GList structure pointing to our link. that would fill up memory and
|
||||
causes the GList.data fields of the running_timeouts list to point to
|
||||
GList structures and not GtkTimeoutFunction structures which is a
|
||||
*really* bad thing.
|
||||
(gtk_handle_current_idles): likewise (exchange "timout" with "idle" in
|
||||
the above entry ;).
|
||||
|
||||
Sat Apr 18 22:18:12 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkradiomenuitem.h:
|
||||
|
@ -1,3 +1,14 @@
|
||||
Wed Apr 22 04:15:26 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkmain.c (gtk_handle_current_timeouts): prepend the
|
||||
running_timeouts list with the tmp_list link itself, not with a new
|
||||
GList structure pointing to our link. that would fill up memory and
|
||||
causes the GList.data fields of the running_timeouts list to point to
|
||||
GList structures and not GtkTimeoutFunction structures which is a
|
||||
*really* bad thing.
|
||||
(gtk_handle_current_idles): likewise (exchange "timout" with "idle" in
|
||||
the above entry ;).
|
||||
|
||||
Sat Apr 18 22:18:12 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkradiomenuitem.h:
|
||||
|
@ -1,3 +1,14 @@
|
||||
Wed Apr 22 04:15:26 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkmain.c (gtk_handle_current_timeouts): prepend the
|
||||
running_timeouts list with the tmp_list link itself, not with a new
|
||||
GList structure pointing to our link. that would fill up memory and
|
||||
causes the GList.data fields of the running_timeouts list to point to
|
||||
GList structures and not GtkTimeoutFunction structures which is a
|
||||
*really* bad thing.
|
||||
(gtk_handle_current_idles): likewise (exchange "timout" with "idle" in
|
||||
the above entry ;).
|
||||
|
||||
Sat Apr 18 22:18:12 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkradiomenuitem.h:
|
||||
|
@ -1,3 +1,14 @@
|
||||
Wed Apr 22 04:15:26 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkmain.c (gtk_handle_current_timeouts): prepend the
|
||||
running_timeouts list with the tmp_list link itself, not with a new
|
||||
GList structure pointing to our link. that would fill up memory and
|
||||
causes the GList.data fields of the running_timeouts list to point to
|
||||
GList structures and not GtkTimeoutFunction structures which is a
|
||||
*really* bad thing.
|
||||
(gtk_handle_current_idles): likewise (exchange "timout" with "idle" in
|
||||
the above entry ;).
|
||||
|
||||
Sat Apr 18 22:18:12 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkradiomenuitem.h:
|
||||
|
@ -1399,7 +1399,8 @@ gtk_handle_current_timeouts (guint32 the_time)
|
||||
timeoutf = tmp_list->data;
|
||||
|
||||
current_timeouts = g_list_remove_link (current_timeouts, tmp_list);
|
||||
running_timeouts = g_list_prepend (running_timeouts, tmp_list);
|
||||
tmp_list->next = running_timeouts;
|
||||
running_timeouts = tmp_list;
|
||||
|
||||
result = gtk_invoke_timeout_function (timeoutf);
|
||||
|
||||
@ -1520,7 +1521,8 @@ gtk_handle_current_idles ()
|
||||
idlef = tmp_list->data;
|
||||
|
||||
current_idles = g_list_remove_link (current_idles, tmp_list);
|
||||
running_idles = g_list_prepend (running_idles, tmp_list);
|
||||
tmp_list->next = running_idles;
|
||||
running_idles = tmp_list;
|
||||
|
||||
result = gtk_idle_invoke_function (idlef);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user