fix: gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
This commit is contained in:
parent
1ffe677804
commit
37a561115a
3
main.c
3
main.c
@ -196,9 +196,10 @@ static void on_convert_clicked(gpointer button, gpointer user)
|
||||
gtk_widget_destroy(dialog);
|
||||
render_cell_to_code(cell_to_render, layer_list, tex_file);
|
||||
fclose(tex_file);
|
||||
} else {
|
||||
gtk_widget_destroy(dialog);
|
||||
}
|
||||
|
||||
gtk_widget_destroy(dialog);
|
||||
g_list_free_full(layer_list, (GDestroyNotify)delete_layer_info_struct);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user