summaryrefslogtreecommitdiffstats
path: root/src/widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/widget.c')
-rw-r--r--src/widget.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/widget.c b/src/widget.c
index 59b360a..5828922 100644
--- a/src/widget.c
+++ b/src/widget.c
@@ -147,6 +147,8 @@ recalc_bounds(GanvWidget* witem)
static void
do_destroy(GtkObject* object, gpointer data)
{
+ (void)object;
+
GanvWidget* witem = GANV_WIDGET(data);
witem->impl->in_destroy = TRUE;
@@ -323,6 +325,12 @@ static void
ganv_widget_draw(GanvItem* item,
cairo_t* cr, double cx, double cy, double cw, double ch)
{
+ (void)cr;
+ (void)cx;
+ (void)cy;
+ (void)cw;
+ (void)ch;
+
GanvWidget* witem = GANV_WIDGET(item);
if (witem->impl->widget) {