mirror of
git://projects.qi-hardware.com/eda-tools.git
synced 2024-11-29 11:56:15 +02:00
eeshow/gui/sheet.c (sheet_setup): wrong use of ctx, broke resizing
... with a segfault.
This commit is contained in:
parent
cfa730459c
commit
f8742fa050
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user