diff options
Diffstat (limited to 'source/widgets/widget.c')
-rw-r--r-- | source/widgets/widget.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/widgets/widget.c b/source/widgets/widget.c index 48642cb7..0aee2e70 100644 --- a/source/widgets/widget.c +++ b/source/widgets/widget.c @@ -66,10 +66,10 @@ void widget_draw ( widget *widget, cairo_t *d ) widget->need_redraw = FALSE; } } -void widget_free ( widget *widget ) +void widget_free ( widget *wid ) { - if ( widget && widget->free ) { - widget->free ( widget ); + if ( wid && wid->free ) { + wid->free ( wid ); } } |