mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Add the entire draw_data_list back to the free list, not just the last
Sat Feb 6 11:20:16 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkwidget.c (gtk_widget_idle_draw): Add the entire draw_data_list back to the free list, not just the last element.
This commit is contained in:
parent
c13e6db019
commit
39e2943650
@ -1,3 +1,9 @@
|
||||
Sat Feb 6 11:20:16 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_idle_draw): Add the
|
||||
entire draw_data_list back to the free list, not
|
||||
just the last element.
|
||||
|
||||
Sat Feb 6 00:21:14 1999 Lars Hamann <lars@gtk.org>
|
||||
|
||||
* gtk/gtkctree.c (draw_row):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Feb 6 11:20:16 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_idle_draw): Add the
|
||||
entire draw_data_list back to the free list, not
|
||||
just the last element.
|
||||
|
||||
Sat Feb 6 00:21:14 1999 Lars Hamann <lars@gtk.org>
|
||||
|
||||
* gtk/gtkctree.c (draw_row):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Feb 6 11:20:16 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_idle_draw): Add the
|
||||
entire draw_data_list back to the free list, not
|
||||
just the last element.
|
||||
|
||||
Sat Feb 6 00:21:14 1999 Lars Hamann <lars@gtk.org>
|
||||
|
||||
* gtk/gtkctree.c (draw_row):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Feb 6 11:20:16 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_idle_draw): Add the
|
||||
entire draw_data_list back to the free list, not
|
||||
just the last element.
|
||||
|
||||
Sat Feb 6 00:21:14 1999 Lars Hamann <lars@gtk.org>
|
||||
|
||||
* gtk/gtkctree.c (draw_row):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Feb 6 11:20:16 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_idle_draw): Add the
|
||||
entire draw_data_list back to the free list, not
|
||||
just the last element.
|
||||
|
||||
Sat Feb 6 00:21:14 1999 Lars Hamann <lars@gtk.org>
|
||||
|
||||
* gtk/gtkctree.c (draw_row):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Feb 6 11:20:16 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_idle_draw): Add the
|
||||
entire draw_data_list back to the free list, not
|
||||
just the last element.
|
||||
|
||||
Sat Feb 6 00:21:14 1999 Lars Hamann <lars@gtk.org>
|
||||
|
||||
* gtk/gtkctree.c (draw_row):
|
||||
|
@ -1,3 +1,9 @@
|
||||
Sat Feb 6 11:20:16 1999 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkwidget.c (gtk_widget_idle_draw): Add the
|
||||
entire draw_data_list back to the free list, not
|
||||
just the last element.
|
||||
|
||||
Sat Feb 6 00:21:14 1999 Lars Hamann <lars@gtk.org>
|
||||
|
||||
* gtk/gtkctree.c (draw_row):
|
||||
|
@ -2205,6 +2205,8 @@ gtk_widget_idle_draw (gpointer cb_data)
|
||||
|
||||
while (widget_list)
|
||||
{
|
||||
GSList *tmp_list;
|
||||
|
||||
widget = widget_list->data;
|
||||
draw_data_list = gtk_object_get_data_by_id (GTK_OBJECT (widget),
|
||||
draw_data_tmp_key_id);
|
||||
@ -2212,17 +2214,18 @@ gtk_widget_idle_draw (gpointer cb_data)
|
||||
draw_data_tmp_key_id,
|
||||
NULL);
|
||||
|
||||
while (draw_data_list)
|
||||
tmp_list = draw_data_list;
|
||||
while (tmp_list)
|
||||
{
|
||||
GtkDrawData *data = draw_data_list->data;
|
||||
GtkDrawData *data = tmp_list->data;
|
||||
if ((data->rect.width != 0) || (data->rect.height != 0))
|
||||
gtk_widget_draw (widget, &data->rect);
|
||||
|
||||
if (draw_data_list->next)
|
||||
draw_data_list = draw_data_list->next;
|
||||
if (tmp_list->next)
|
||||
tmp_list = tmp_list->next;
|
||||
else
|
||||
{
|
||||
draw_data_list->next = draw_data_free_list;
|
||||
tmp_list->next = draw_data_free_list;
|
||||
draw_data_free_list = draw_data_list;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user