Fix g_return_if_fail() that was checking draw_shadow. (#136669, Morten

Tue Mar  9 13:49:14 2004  Owen Taylor  <otaylor@redhat.com>

        * gtk/gtkstyle.c (gtk_paint_polygon): Fix
        g_return_if_fail() that was checking draw_shadow.
        (#136669, Morten Welinder)
This commit is contained in:
Owen Taylor 2004-03-09 18:52:56 +00:00 committed by Owen Taylor
parent 49476b24aa
commit 160edfcf63
6 changed files with 31 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Tue Mar 9 13:49:14 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c (gtk_paint_polygon): Fix
g_return_if_fail() that was checking draw_shadow.
(#136669, Morten Welinder)
Tue Mar 9 09:57:25 2004 Owen Taylor <otaylor@redhat.com>
* === Released 2.3.6 ===

View File

@ -1,3 +1,9 @@
Tue Mar 9 13:49:14 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c (gtk_paint_polygon): Fix
g_return_if_fail() that was checking draw_shadow.
(#136669, Morten Welinder)
Tue Mar 9 09:57:25 2004 Owen Taylor <otaylor@redhat.com>
* === Released 2.3.6 ===

View File

@ -1,3 +1,9 @@
Tue Mar 9 13:49:14 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c (gtk_paint_polygon): Fix
g_return_if_fail() that was checking draw_shadow.
(#136669, Morten Welinder)
Tue Mar 9 09:57:25 2004 Owen Taylor <otaylor@redhat.com>
* === Released 2.3.6 ===

View File

@ -1,3 +1,9 @@
Tue Mar 9 13:49:14 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c (gtk_paint_polygon): Fix
g_return_if_fail() that was checking draw_shadow.
(#136669, Morten Welinder)
Tue Mar 9 09:57:25 2004 Owen Taylor <otaylor@redhat.com>
* === Released 2.3.6 ===

View File

@ -1,3 +1,9 @@
Tue Mar 9 13:49:14 2004 Owen Taylor <otaylor@redhat.com>
* gtk/gtkstyle.c (gtk_paint_polygon): Fix
g_return_if_fail() that was checking draw_shadow.
(#136669, Morten Welinder)
Tue Mar 9 09:57:25 2004 Owen Taylor <otaylor@redhat.com>
* === Released 2.3.6 ===

View File

@ -5857,7 +5857,7 @@ gtk_paint_polygon (GtkStyle *style,
gboolean fill)
{
g_return_if_fail (GTK_IS_STYLE (style));
g_return_if_fail (GTK_STYLE_GET_CLASS (style)->draw_shadow != NULL);
g_return_if_fail (GTK_STYLE_GET_CLASS (style)->draw_polygon != NULL);
GTK_STYLE_GET_CLASS (style)->draw_polygon (style, window, state_type, shadow_type, area, widget, detail, points, npoints, fill);
}