mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
save the widgets visibility flag for evaluation after the widget got
* gtk/gtkbox.c (gtk_box_remove): save the widgets visibility flag for evaluation after the widget got destroyed, discovered by Johannes Keukelaar <johannes@nada.kth.se>.
This commit is contained in:
parent
c88afb81f9
commit
7de464ffe8
@ -1,3 +1,9 @@
|
||||
Tue Mar 24 03:53:18 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkbox.c (gtk_box_remove): save the widgets visibility flag for
|
||||
evaluation after the widget got destroyed, discovered by Johannes
|
||||
Keukelaar <johannes@nada.kth.se>.
|
||||
|
||||
1998-03-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_set_row_data_full): Select the row
|
||||
|
@ -1,3 +1,9 @@
|
||||
Tue Mar 24 03:53:18 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkbox.c (gtk_box_remove): save the widgets visibility flag for
|
||||
evaluation after the widget got destroyed, discovered by Johannes
|
||||
Keukelaar <johannes@nada.kth.se>.
|
||||
|
||||
1998-03-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_set_row_data_full): Select the row
|
||||
|
@ -1,3 +1,9 @@
|
||||
Tue Mar 24 03:53:18 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkbox.c (gtk_box_remove): save the widgets visibility flag for
|
||||
evaluation after the widget got destroyed, discovered by Johannes
|
||||
Keukelaar <johannes@nada.kth.se>.
|
||||
|
||||
1998-03-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_set_row_data_full): Select the row
|
||||
|
@ -1,3 +1,9 @@
|
||||
Tue Mar 24 03:53:18 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkbox.c (gtk_box_remove): save the widgets visibility flag for
|
||||
evaluation after the widget got destroyed, discovered by Johannes
|
||||
Keukelaar <johannes@nada.kth.se>.
|
||||
|
||||
1998-03-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_set_row_data_full): Select the row
|
||||
|
@ -1,3 +1,9 @@
|
||||
Tue Mar 24 03:53:18 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkbox.c (gtk_box_remove): save the widgets visibility flag for
|
||||
evaluation after the widget got destroyed, discovered by Johannes
|
||||
Keukelaar <johannes@nada.kth.se>.
|
||||
|
||||
1998-03-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_set_row_data_full): Select the row
|
||||
|
@ -1,3 +1,9 @@
|
||||
Tue Mar 24 03:53:18 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkbox.c (gtk_box_remove): save the widgets visibility flag for
|
||||
evaluation after the widget got destroyed, discovered by Johannes
|
||||
Keukelaar <johannes@nada.kth.se>.
|
||||
|
||||
1998-03-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_set_row_data_full): Select the row
|
||||
|
@ -1,3 +1,9 @@
|
||||
Tue Mar 24 03:53:18 1998 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gtk/gtkbox.c (gtk_box_remove): save the widgets visibility flag for
|
||||
evaluation after the widget got destroyed, discovered by Johannes
|
||||
Keukelaar <johannes@nada.kth.se>.
|
||||
|
||||
1998-03-23 Federico Mena Quintero <federico@nuclecu.unam.mx>
|
||||
|
||||
* gtk/gtkclist.c (gtk_clist_set_row_data_full): Select the row
|
||||
|
@ -560,13 +560,16 @@ gtk_box_remove (GtkContainer *container,
|
||||
|
||||
if (child->widget == widget)
|
||||
{
|
||||
gboolean visible;
|
||||
|
||||
visible = GTK_WIDGET_VISIBLE (widget);
|
||||
gtk_widget_unparent (widget);
|
||||
|
||||
box->children = g_list_remove_link (box->children, children);
|
||||
g_list_free (children);
|
||||
g_free (child);
|
||||
|
||||
if (GTK_WIDGET_VISIBLE (widget) && GTK_WIDGET_VISIBLE (container))
|
||||
if (visible && GTK_WIDGET_VISIBLE (container))
|
||||
gtk_widget_queue_resize (GTK_WIDGET (container));
|
||||
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user