summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/sheet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/sheet.c b/gui/sheet.c
index 5274eb3..bc3cf9f 100644
--- a/gui/sheet.c
+++ b/gui/sheet.c
@@ -465,6 +465,6 @@ static void size_allocate_event(GtkWidget *widget, GdkRectangle *allocation,
void sheet_setup(struct gui_ctx *ctx)
{
g_signal_connect(G_OBJECT(ctx->da), "size_allocate",
- G_CALLBACK(size_allocate_event), &ctx);
+ G_CALLBACK(size_allocate_event), ctx);
input_push(&sheet_input_ops, ctx);
}