forked from AuroraMiddleware/gtk
Remember the new value in all cases. (#126276, Damon Chaplin)
Mon Nov 10 00:40:41 2003 Matthias Clasen <maclas@gmx.de> * gtk/gtkeventbox.c (gtk_event_box_set_above_child): Remember the new value in all cases. (#126276, Damon Chaplin)
This commit is contained in:
parent
65ee9f9eeb
commit
e069d3131e
@ -1,3 +1,8 @@
|
||||
Mon Nov 10 00:40:41 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkeventbox.c (gtk_event_box_set_above_child):
|
||||
Remember the new value in all cases. (#126276, Damon Chaplin)
|
||||
|
||||
Sat Nov 8 23:06:02 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* demos/gtk-demo/main.c (row_activated_cb): Call the do_
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Nov 10 00:40:41 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkeventbox.c (gtk_event_box_set_above_child):
|
||||
Remember the new value in all cases. (#126276, Damon Chaplin)
|
||||
|
||||
Sat Nov 8 23:06:02 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* demos/gtk-demo/main.c (row_activated_cb): Call the do_
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Nov 10 00:40:41 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkeventbox.c (gtk_event_box_set_above_child):
|
||||
Remember the new value in all cases. (#126276, Damon Chaplin)
|
||||
|
||||
Sat Nov 8 23:06:02 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* demos/gtk-demo/main.c (row_activated_cb): Call the do_
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Nov 10 00:40:41 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkeventbox.c (gtk_event_box_set_above_child):
|
||||
Remember the new value in all cases. (#126276, Damon Chaplin)
|
||||
|
||||
Sat Nov 8 23:06:02 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* demos/gtk-demo/main.c (row_activated_cb): Call the do_
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Nov 10 00:40:41 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkeventbox.c (gtk_event_box_set_above_child):
|
||||
Remember the new value in all cases. (#126276, Damon Chaplin)
|
||||
|
||||
Sat Nov 8 23:06:02 2003 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* demos/gtk-demo/main.c (row_activated_cb): Call the do_
|
||||
|
@ -364,6 +364,8 @@ gtk_event_box_set_above_child (GtkEventBox *event_box,
|
||||
|
||||
if (priv->above_child != above_child)
|
||||
{
|
||||
priv->above_child = above_child;
|
||||
|
||||
if (GTK_WIDGET_REALIZED (widget))
|
||||
{
|
||||
if (GTK_WIDGET_NO_WINDOW (widget))
|
||||
@ -381,7 +383,6 @@ gtk_event_box_set_above_child (GtkEventBox *event_box,
|
||||
gtk_widget_hide (widget);
|
||||
|
||||
gtk_widget_unrealize (widget);
|
||||
priv->above_child = above_child;
|
||||
|
||||
gtk_widget_realize (widget);
|
||||
|
||||
@ -389,8 +390,6 @@ gtk_event_box_set_above_child (GtkEventBox *event_box,
|
||||
gtk_widget_show (widget);
|
||||
}
|
||||
}
|
||||
else
|
||||
priv->above_child = above_child;
|
||||
|
||||
if (GTK_WIDGET_VISIBLE (widget))
|
||||
gtk_widget_queue_resize (widget);
|
||||
|
Loading…
Reference in New Issue
Block a user