summaryrefslogtreecommitdiff
path: root/gui/sheet.c
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-18 12:52:37 -0300
committerWerner Almesberger <werner@almesberger.net>2016-08-18 12:52:37 -0300
commit040cb27a26cc4a6310d9ee766e75882ccb88593d (patch)
tree2b393ce9c375a84f93913db679ece5d9d1b624c7 /gui/sheet.c
parentc03b6c294cd209703b54cccc236258acfcad60b8 (diff)
downloadeeshow-040cb27a26cc4a6310d9ee766e75882ccb88593d.tar.gz
eeshow-040cb27a26cc4a6310d9ee766e75882ccb88593d.tar.bz2
eeshow-040cb27a26cc4a6310d9ee766e75882ccb88593d.zip
eeshow/gui/sheet.c (sheet_setup): wrong use of ctx, broke resizing
... with a segfault.
Diffstat (limited to 'gui/sheet.c')
-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);
}