Take widget->state into account when painting the shadows. (#150351, Tim

2004-08-17  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkframe.c (gtk_frame_paint): Take widget->state into account when
	painting the shadows.  (#150351, Tim Janik)
This commit is contained in:
Matthias Clasen 2004-08-17 19:10:24 +00:00 committed by Matthias Clasen
parent 54fb7a7b0d
commit eacbe5e136
5 changed files with 22 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-08-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkframe.c (gtk_frame_paint): Take widget->state into account when
painting the shadows. (#150351, Tim Janik)
2004-08-17 Matthias Clasen <mclasen@redhat.com> 2004-08-17 Matthias Clasen <mclasen@redhat.com>
* gtk/abicheck.sh: No need for INCLUDE_INTERNAL_SYMBOLS anymore. * gtk/abicheck.sh: No need for INCLUDE_INTERNAL_SYMBOLS anymore.

View File

@ -1,3 +1,8 @@
2004-08-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkframe.c (gtk_frame_paint): Take widget->state into account when
painting the shadows. (#150351, Tim Janik)
2004-08-17 Matthias Clasen <mclasen@redhat.com> 2004-08-17 Matthias Clasen <mclasen@redhat.com>
* gtk/abicheck.sh: No need for INCLUDE_INTERNAL_SYMBOLS anymore. * gtk/abicheck.sh: No need for INCLUDE_INTERNAL_SYMBOLS anymore.

View File

@ -1,3 +1,8 @@
2004-08-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkframe.c (gtk_frame_paint): Take widget->state into account when
painting the shadows. (#150351, Tim Janik)
2004-08-17 Matthias Clasen <mclasen@redhat.com> 2004-08-17 Matthias Clasen <mclasen@redhat.com>
* gtk/abicheck.sh: No need for INCLUDE_INTERNAL_SYMBOLS anymore. * gtk/abicheck.sh: No need for INCLUDE_INTERNAL_SYMBOLS anymore.

View File

@ -1,3 +1,8 @@
2004-08-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkframe.c (gtk_frame_paint): Take widget->state into account when
painting the shadows. (#150351, Tim Janik)
2004-08-17 Matthias Clasen <mclasen@redhat.com> 2004-08-17 Matthias Clasen <mclasen@redhat.com>
* gtk/abicheck.sh: No need for INCLUDE_INTERNAL_SYMBOLS anymore. * gtk/abicheck.sh: No need for INCLUDE_INTERNAL_SYMBOLS anymore.

View File

@ -566,7 +566,7 @@ gtk_frame_paint (GtkWidget *widget,
gtk_paint_shadow_gap (widget->style, widget->window, gtk_paint_shadow_gap (widget->style, widget->window,
GTK_STATE_NORMAL, frame->shadow_type, widget->state, frame->shadow_type,
area, widget, "frame", area, widget, "frame",
x, y, width, height, x, y, width, height,
GTK_POS_TOP, GTK_POS_TOP,
@ -574,7 +574,7 @@ gtk_frame_paint (GtkWidget *widget,
} }
else else
gtk_paint_shadow (widget->style, widget->window, gtk_paint_shadow (widget->style, widget->window,
GTK_STATE_NORMAL, frame->shadow_type, widget->state, frame->shadow_type,
area, widget, "frame", area, widget, "frame",
x, y, width, height); x, y, width, height);
} }