summaryrefslogtreecommitdiff
path: root/gtk/gtkstyle.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-03-09 18:52:56 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-03-09 18:52:56 +0000
commit160edfcf630caa1e61c1f19263f7f450f2c5ac4b (patch)
tree4777cc93594396bd4f056c188b71377057e8a758 /gtk/gtkstyle.c
parent49476b24aa38fab3806b7b95a38be1b2b98c3f70 (diff)
downloadgtk+-160edfcf630caa1e61c1f19263f7f450f2c5ac4b.tar.gz
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)
Diffstat (limited to 'gtk/gtkstyle.c')
-rw-r--r--gtk/gtkstyle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index cf7a84280e..67c11d56ea 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -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);
}