]> Pileus Git - ~andy/gtk/commitdiff
Take widget->state into account when painting the shadows. (#150351, Tim
authorMatthias Clasen <mclasen@redhat.com>
Tue, 17 Aug 2004 19:10:24 +0000 (19:10 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 17 Aug 2004 19:10:24 +0000 (19:10 +0000)
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)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkframe.c

index a306d32efa83869076b37cbc188142b1390b706f..fb47b318cdebb619b781ee15f09987ef25865ca8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
        * gtk/abicheck.sh: No need for INCLUDE_INTERNAL_SYMBOLS anymore.
index a306d32efa83869076b37cbc188142b1390b706f..fb47b318cdebb619b781ee15f09987ef25865ca8 100644 (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>
 
        * gtk/abicheck.sh: No need for INCLUDE_INTERNAL_SYMBOLS anymore.
index a306d32efa83869076b37cbc188142b1390b706f..fb47b318cdebb619b781ee15f09987ef25865ca8 100644 (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>
 
        * gtk/abicheck.sh: No need for INCLUDE_INTERNAL_SYMBOLS anymore.
index a306d32efa83869076b37cbc188142b1390b706f..fb47b318cdebb619b781ee15f09987ef25865ca8 100644 (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>
 
        * gtk/abicheck.sh: No need for INCLUDE_INTERNAL_SYMBOLS anymore.
index e0452e415e6578aeb485a8f45608eae981f5db5e..a8f40a0955c429e0d4bd4509c89b98197998def1 100644 (file)
@@ -566,7 +566,7 @@ gtk_frame_paint (GtkWidget    *widget,
 
          
          gtk_paint_shadow_gap (widget->style, widget->window,
-                               GTK_STATE_NORMAL, frame->shadow_type,
+                               widget->state, frame->shadow_type,
                                area, widget, "frame",
                                x, y, width, height,
                                GTK_POS_TOP, 
@@ -574,7 +574,7 @@ gtk_frame_paint (GtkWidget    *widget,
        }
        else
         gtk_paint_shadow (widget->style, widget->window,
-                          GTK_STATE_NORMAL, frame->shadow_type,
+                          widget->state, frame->shadow_type,
                           area, widget, "frame",
                           x, y, width, height);
     }